Merge pull request #1010 from bunnei/unk-vert-attrib-shader

gl_shader_decompiler: Improve handling of unknown input/output attributes.
This commit is contained in:
bunnei
2018-08-11 19:56:28 -04:00
committed by GitHub
2 changed files with 11 additions and 10 deletions

View File

@ -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 {