aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Shader/Translation/ShaderHeader.cs
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2021-01-29 00:38:51 -0300
committerGitHub <noreply@github.com>2021-01-29 14:38:51 +1100
commitf93089a64f9586863e8a261af932d125e78230df (patch)
tree9899a0075441cbaa620d2dbf7609909c2d8b0bde /Ryujinx.Graphics.Shader/Translation/ShaderHeader.cs
parent9c2f851d3946a2b789e8c00432c60c8d690299a7 (diff)
Implement geometry shader passthrough (#1961)
* Implement geometry shader passthrough * Cache version change
Diffstat (limited to 'Ryujinx.Graphics.Shader/Translation/ShaderHeader.cs')
-rw-r--r--Ryujinx.Graphics.Shader/Translation/ShaderHeader.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/Ryujinx.Graphics.Shader/Translation/ShaderHeader.cs b/Ryujinx.Graphics.Shader/Translation/ShaderHeader.cs
index 1218d591..ff5932e1 100644
--- a/Ryujinx.Graphics.Shader/Translation/ShaderHeader.cs
+++ b/Ryujinx.Graphics.Shader/Translation/ShaderHeader.cs
@@ -81,6 +81,8 @@ namespace Ryujinx.Graphics.Shader.Translation
public int SassVersion { get; }
+ public bool GpPassthrough { get; }
+
public bool DoesLoadOrStore { get; }
public bool DoesFp64 { get; }
@@ -136,6 +138,8 @@ namespace Ryujinx.Graphics.Shader.Translation
SassVersion = commonWord0.Extract(17, 4);
+ GpPassthrough = commonWord0.Extract(24);
+
DoesLoadOrStore = commonWord0.Extract(26);
DoesFp64 = commonWord0.Extract(27);