diff options
| author | 2018-08-10 12:34:51 -0400 | |
|---|---|---|
| committer | 2018-08-11 19:26:45 -0400 | |
| commit | 0b668d5ff355c0ac2c33d40429e6cc6d872d0e4f (patch) | |
| tree | 724eb624370130fbb2318d6a54d40c2b11cb73e3 /src/video_core/engines | |
| parent | Merge pull request #1016 from lioncash/video (diff) | |
| download | yuzu-0b668d5ff355c0ac2c33d40429e6cc6d872d0e4f.tar.gz yuzu-0b668d5ff355c0ac2c33d40429e6cc6d872d0e4f.tar.xz yuzu-0b668d5ff355c0ac2c33d40429e6cc6d872d0e4f.zip | |
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 3e409c2e1..24396c6c9 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 { |