From 9d7a142a48a5f804127fcae2265bb6ec5495d178 Mon Sep 17 00:00:00 2001 From: gdkchan Date: Mon, 16 Dec 2019 01:59:46 -0300 Subject: Support texture rectangle targets (non-normalized coords) --- Ryujinx.Graphics.Shader/ShaderHeader.cs | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'Ryujinx.Graphics.Shader/ShaderHeader.cs') diff --git a/Ryujinx.Graphics.Shader/ShaderHeader.cs b/Ryujinx.Graphics.Shader/ShaderHeader.cs index 94c57435..a8d01086 100644 --- a/Ryujinx.Graphics.Shader/ShaderHeader.cs +++ b/Ryujinx.Graphics.Shader/ShaderHeader.cs @@ -76,28 +76,6 @@ namespace Ryujinx.Graphics.Shader public bool OmapSampleMask { get; } public bool OmapDepth { get; } - public int DepthRegister - { - get - { - int count = 0; - - for (int index = 0; index < OmapTargets.Length; index++) - { - for (int component = 0; component < 4; component++) - { - if (OmapTargets[index].ComponentEnabled(component)) - { - count++; - } - } - } - - // Depth register is always two registers after the last color output. - return count + 1; - } - } - public ShaderHeader(Span code) { Span header = MemoryMarshal.Cast(code); -- cgit v1.2.3