glslang AST output: include global vs. temp (local) in the printed output. This only effects test results, but a future check-in is going to fix some globals.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@30973 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
@@ -2,7 +2,7 @@ noMain.vert
|
||||
|
||||
Shader version: 300
|
||||
0:? Sequence
|
||||
0:3 Function Definition: foo( (void)
|
||||
0:3 Function Definition: foo( (global void)
|
||||
0:3 Function Parameters:
|
||||
0:? Linker Objects
|
||||
0:? 'gl_VertexID' (gl_VertexId highp int)
|
||||
@@ -15,9 +15,9 @@ ERROR: 1 compilation errors. No code generated.
|
||||
|
||||
Shader version: 300
|
||||
ERROR: node is still EOpNull!
|
||||
0:3 Function Definition: main( (void)
|
||||
0:3 Function Definition: main( (global void)
|
||||
0:3 Function Parameters:
|
||||
0:7 Function Definition: main( (void)
|
||||
0:7 Function Definition: main( (global void)
|
||||
0:7 Function Parameters:
|
||||
0:? Linker Objects
|
||||
|
||||
@@ -31,16 +31,16 @@ Linked fragment stage:
|
||||
|
||||
Shader version: 300
|
||||
0:? Sequence
|
||||
0:3 Function Definition: foo( (void)
|
||||
0:3 Function Definition: foo( (global void)
|
||||
0:3 Function Parameters:
|
||||
0:? Linker Objects
|
||||
0:? 'gl_VertexID' (gl_VertexId highp int)
|
||||
0:? 'gl_InstanceID' (gl_InstanceId highp int)
|
||||
Shader version: 300
|
||||
ERROR: node is still EOpNull!
|
||||
0:3 Function Definition: main( (void)
|
||||
0:3 Function Definition: main( (global void)
|
||||
0:3 Function Parameters:
|
||||
0:7 Function Definition: main( (void)
|
||||
0:7 Function Definition: main( (global void)
|
||||
0:7 Function Parameters:
|
||||
0:? Linker Objects
|
||||
|
||||
|
||||
Reference in New Issue
Block a user