glslang -> SPV: Use the new TBuiltInVariable instead of string compares to get the type of SPV built in. Also fixed gl_FragData and gl_PrimitiveIDIn.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@31226 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
parent
dff18a2be0
commit
40e391184c
10 changed files with 81 additions and 105 deletions
|
|
@ -109,7 +109,7 @@ ERROR: node is still EOpNull!
|
|||
0:35 1 (const int)
|
||||
0:36 move second child to first child (temp int)
|
||||
0:36 'gl_PrimitiveID' (layout(stream=0 ) out int PrimitiveID)
|
||||
0:36 'gl_PrimitiveIDIn' (in int)
|
||||
0:36 'gl_PrimitiveIDIn' (in int PrimitiveID)
|
||||
0:37 move second child to first child (temp int)
|
||||
0:37 'gl_Layer' (layout(stream=0 ) out int Layer)
|
||||
0:37 Constant:
|
||||
|
|
@ -250,7 +250,7 @@ ERROR: node is still EOpNull!
|
|||
0:35 1 (const int)
|
||||
0:36 move second child to first child (temp int)
|
||||
0:36 'gl_PrimitiveID' (layout(stream=0 ) out int PrimitiveID)
|
||||
0:36 'gl_PrimitiveIDIn' (in int)
|
||||
0:36 'gl_PrimitiveIDIn' (in int PrimitiveID)
|
||||
0:37 move second child to first child (temp int)
|
||||
0:37 'gl_Layer' (layout(stream=0 ) out int Layer)
|
||||
0:37 Constant:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue