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:
John Kessenich
2015-05-18 23:25:32 +00:00
parent dff18a2be0
commit 40e391184c
10 changed files with 81 additions and 105 deletions

View File

@@ -7,8 +7,8 @@ Shader version: 130
0:7 Function Parameters:
0:9 Sequence
0:9 move second child to first child (temp 4-component vector of float)
0:9 indirect index (temp 4-component vector of float)
0:9 'gl_FragData' (fragColor 32-element array of 4-component vector of float)
0:9 indirect index (temp 4-component vector of float FragData)
0:9 'gl_FragData' (fragColor 32-element array of 4-component vector of float FragData)
0:9 'i' (uniform int)
0:9 'Color' (smooth in 4-component vector of float)
0:? Linker Objects
@@ -25,8 +25,8 @@ Shader version: 130
0:7 Function Parameters:
0:9 Sequence
0:9 move second child to first child (temp 4-component vector of float)
0:9 indirect index (temp 4-component vector of float)
0:9 'gl_FragData' (fragColor 32-element array of 4-component vector of float)
0:9 indirect index (temp 4-component vector of float FragData)
0:9 'gl_FragData' (fragColor 32-element array of 4-component vector of float FragData)
0:9 'i' (uniform int)
0:9 'Color' (smooth in 4-component vector of float)
0:? Linker Objects