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
|
|
@ -7,8 +7,8 @@ Shader version: 130
|
|||
0:5 Function Parameters:
|
||||
0:7 Sequence
|
||||
0:7 move second child to first child (temp 4-component vector of float)
|
||||
0:7 direct index (temp 4-component vector of float)
|
||||
0:7 'gl_FragData' (fragColor 32-element array of 4-component vector of float)
|
||||
0:7 direct index (temp 4-component vector of float FragData)
|
||||
0:7 'gl_FragData' (fragColor 32-element array of 4-component vector of float FragData)
|
||||
0:7 Constant:
|
||||
0:7 1 (const int)
|
||||
0:7 'Color' (smooth in 4-component vector of float)
|
||||
|
|
@ -25,8 +25,8 @@ Shader version: 130
|
|||
0:5 Function Parameters:
|
||||
0:7 Sequence
|
||||
0:7 move second child to first child (temp 4-component vector of float)
|
||||
0:7 direct index (temp 4-component vector of float)
|
||||
0:7 'gl_FragData' (fragColor 32-element array of 4-component vector of float)
|
||||
0:7 direct index (temp 4-component vector of float FragData)
|
||||
0:7 'gl_FragData' (fragColor 32-element array of 4-component vector of float FragData)
|
||||
0:7 Constant:
|
||||
0:7 1 (const int)
|
||||
0:7 'Color' (smooth in 4-component vector of float)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue