diff options
| author | 2018-08-11 19:56:28 -0400 | |
|---|---|---|
| committer | 2018-08-11 19:56:28 -0400 | |
| commit | 403dfd68fc41cec2261915d1647305c016a93440 (patch) | |
| tree | b6490574200d79a0a8de65f5e491616b08517d59 /src/video_core/engines | |
| parent | Merge pull request #1009 from bunnei/rg8-rgba8-snorm (diff) | |
| parent | gl_shader_decompiler: Improve handling of unknown input/output attributes. (diff) | |
| download | yuzu-403dfd68fc41cec2261915d1647305c016a93440.tar.gz yuzu-403dfd68fc41cec2261915d1647305c016a93440.tar.xz yuzu-403dfd68fc41cec2261915d1647305c016a93440.zip | |
Merge pull request #1010 from bunnei/unk-vert-attrib-shader
gl_shader_decompiler: Improve handling of unknown input/output attributes.
Diffstat (limited to 'src/video_core/engines')
| -rw-r--r-- | src/video_core/engines/shader_bytecode.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/video_core/engines/shader_bytecode.h b/src/video_core/engines/shader_bytecode.h index 6cb7bea1c..9f64b248b 100644 --- a/src/video_core/engines/shader_bytecode.h +++ b/src/video_core/engines/shader_bytecode.h | |||
| @@ -74,12 +74,11 @@ union Attribute { | |||
| 74 | enum class Index : u64 { | 74 | enum class Index : u64 { |
| 75 | Position = 7, | 75 | Position = 7, |
| 76 | Attribute_0 = 8, | 76 | Attribute_0 = 8, |
| 77 | Attribute_31 = 39, | ||
| 77 | // This attribute contains a tuple of (~, ~, InstanceId, VertexId) when inside a vertex | 78 | // This attribute contains a tuple of (~, ~, InstanceId, VertexId) when inside a vertex |
| 78 | // shader, and a tuple of (TessCoord.x, TessCoord.y, TessCoord.z, ~) when inside a Tess Eval | 79 | // shader, and a tuple of (TessCoord.x, TessCoord.y, TessCoord.z, ~) when inside a Tess Eval |
| 79 | // shader. | 80 | // shader. |
| 80 | TessCoordInstanceIDVertexID = 47, | 81 | TessCoordInstanceIDVertexID = 47, |
| 81 | // TODO(bunnei): Figure out what this is used for. Super Mario Odyssey uses this. | ||
| 82 | Unknown_63 = 63, | ||
| 83 | }; | 82 | }; |
| 84 | 83 | ||
| 85 | union { | 84 | union { |