diff options
| author | bunnei <bunneidev@gmail.com> | 2018-08-10 12:34:51 -0400 |
|---|---|---|
| committer | bunnei <bunneidev@gmail.com> | 2018-08-11 19:26:45 -0400 |
| commit | 0b668d5ff355c0ac2c33d40429e6cc6d872d0e4f (patch) | |
| tree | 724eb624370130fbb2318d6a54d40c2b11cb73e3 /src/video_core/engines/shader_bytecode.h | |
| parent | d64303d185f86901d0f587faf0e9a65d8497169c (diff) | |
gl_shader_decompiler: Improve handling of unknown input/output attributes.
Diffstat (limited to 'src/video_core/engines/shader_bytecode.h')
| -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 { enum class Index : u64 { Position = 7, Attribute_0 = 8, + Attribute_31 = 39, // This attribute contains a tuple of (~, ~, InstanceId, VertexId) when inside a vertex // shader, and a tuple of (TessCoord.x, TessCoord.y, TessCoord.z, ~) when inside a Tess Eval // shader. TessCoordInstanceIDVertexID = 47, - // TODO(bunnei): Figure out what this is used for. Super Mario Odyssey uses this. - Unknown_63 = 63, }; union { |
