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:
@@ -127,8 +127,8 @@ ERROR: node is still EOpNull!
|
||||
0:43 Function Call: foo(f1[5]; (global 4-element array of float)
|
||||
0:43 'u' (temp 5-element array of float)
|
||||
0:45 move second child to first child (temp 4-component vector of float)
|
||||
0:45 direct index (temp 4-component vector of float)
|
||||
0:45 'gl_FragData' (fragColor 32-element array of 4-component vector of float)
|
||||
0:45 direct index (temp 4-component vector of float FragData)
|
||||
0:45 'gl_FragData' (fragColor 32-element array of 4-component vector of float FragData)
|
||||
0:45 Constant:
|
||||
0:45 1000 (const int)
|
||||
0:45 Constant:
|
||||
@@ -137,8 +137,8 @@ ERROR: node is still EOpNull!
|
||||
0:45 1.000000
|
||||
0:45 1.000000
|
||||
0:46 move second child to first child (temp 4-component vector of float)
|
||||
0:46 direct index (temp 4-component vector of float)
|
||||
0:46 'gl_FragData' (fragColor 32-element array of 4-component vector of float)
|
||||
0:46 direct index (temp 4-component vector of float FragData)
|
||||
0:46 'gl_FragData' (fragColor 32-element array of 4-component vector of float FragData)
|
||||
0:46 Constant:
|
||||
0:46 -1 (const int)
|
||||
0:46 Constant:
|
||||
@@ -147,8 +147,8 @@ ERROR: node is still EOpNull!
|
||||
0:46 1.000000
|
||||
0:46 1.000000
|
||||
0:47 move second child to first child (temp 4-component vector of float)
|
||||
0:47 direct index (temp 4-component vector of float)
|
||||
0:47 'gl_FragData' (fragColor 32-element array of 4-component vector of float)
|
||||
0:47 direct index (temp 4-component vector of float FragData)
|
||||
0:47 'gl_FragData' (fragColor 32-element array of 4-component vector of float FragData)
|
||||
0:47 Constant:
|
||||
0:47 3 (const int)
|
||||
0:47 Constant:
|
||||
@@ -371,8 +371,8 @@ ERROR: node is still EOpNull!
|
||||
0:43 Function Call: foo(f1[5]; (global 4-element array of float)
|
||||
0:43 'u' (temp 5-element array of float)
|
||||
0:45 move second child to first child (temp 4-component vector of float)
|
||||
0:45 direct index (temp 4-component vector of float)
|
||||
0:45 'gl_FragData' (fragColor 32-element array of 4-component vector of float)
|
||||
0:45 direct index (temp 4-component vector of float FragData)
|
||||
0:45 'gl_FragData' (fragColor 32-element array of 4-component vector of float FragData)
|
||||
0:45 Constant:
|
||||
0:45 1000 (const int)
|
||||
0:45 Constant:
|
||||
@@ -381,8 +381,8 @@ ERROR: node is still EOpNull!
|
||||
0:45 1.000000
|
||||
0:45 1.000000
|
||||
0:46 move second child to first child (temp 4-component vector of float)
|
||||
0:46 direct index (temp 4-component vector of float)
|
||||
0:46 'gl_FragData' (fragColor 32-element array of 4-component vector of float)
|
||||
0:46 direct index (temp 4-component vector of float FragData)
|
||||
0:46 'gl_FragData' (fragColor 32-element array of 4-component vector of float FragData)
|
||||
0:46 Constant:
|
||||
0:46 -1 (const int)
|
||||
0:46 Constant:
|
||||
@@ -391,8 +391,8 @@ ERROR: node is still EOpNull!
|
||||
0:46 1.000000
|
||||
0:46 1.000000
|
||||
0:47 move second child to first child (temp 4-component vector of float)
|
||||
0:47 direct index (temp 4-component vector of float)
|
||||
0:47 'gl_FragData' (fragColor 32-element array of 4-component vector of float)
|
||||
0:47 direct index (temp 4-component vector of float FragData)
|
||||
0:47 'gl_FragData' (fragColor 32-element array of 4-component vector of float FragData)
|
||||
0:47 Constant:
|
||||
0:47 3 (const int)
|
||||
0:47 Constant:
|
||||
|
||||
Reference in New Issue
Block a user