Add all built-in variables for all versions/profiles/stages of GLSL. Also, made more readable; declarations are cut and paste from the specs, with quotes around them. This does not include built-in constants yet (other than MaxClipDistances), just the non-constants.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@23551 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
@@ -1,24 +1,31 @@
|
||||
Warning, version 150 is not yet complete; some version-specific features are present, but many are missing.
|
||||
ERROR: 0:13: 'gl_ClipDistance' : undeclared identifier
|
||||
ERROR: 0:13: 'gl_ClipDistance' : left of '[' is not of type array, matrix, or vector
|
||||
ERROR: 0:13: 'assign' : l-value required (can't modify a const)
|
||||
ERROR: 0:16: 'gl_' : reserved built-in name
|
||||
ERROR: 0:21: 'a' : cannot redeclare a user-block member array
|
||||
ERROR: 5 compilation errors. No code generated.
|
||||
ERROR: 1 compilation errors. No code generated.
|
||||
|
||||
ERROR: node is still EOpNull!
|
||||
0:9 Function Definition: main( (void)
|
||||
0:9 Function Parameters:
|
||||
0:11 Sequence
|
||||
0:11 move second child to first child (4-component vector of float)
|
||||
0:11 'gl_Position' (invariant gl_Position 4-component vector of float)
|
||||
0:11 gl_Position: direct index for structure (invariant gl_Position 4-component vector of float)
|
||||
0:11 '__anon__0' (out block)
|
||||
0:11 Constant:
|
||||
0:11 0 (const uint)
|
||||
0:11 'iv4' (in 4-component vector of float)
|
||||
0:12 move second child to first child (float)
|
||||
0:12 'gl_PointSize' (gl_PointSize float)
|
||||
0:12 gl_PointSize: direct index for structure (gl_PointSize float)
|
||||
0:12 '__anon__0' (out block)
|
||||
0:12 Constant:
|
||||
0:12 1 (const uint)
|
||||
0:12 'ps' (uniform float)
|
||||
0:13 move second child to first child (float)
|
||||
0:13 Constant:
|
||||
0:13 0.000000
|
||||
0:13 direct index (float)
|
||||
0:13 gl_ClipDistance: direct index for structure (4-element array of float)
|
||||
0:13 '__anon__0' (out block)
|
||||
0:13 Constant:
|
||||
0:13 2 (const uint)
|
||||
0:13 Constant:
|
||||
0:13 2 (const int)
|
||||
0:13 direct index (float)
|
||||
0:13 'iv4' (in 4-component vector of float)
|
||||
0:13 Constant:
|
||||
@@ -26,8 +33,7 @@ ERROR: node is still EOpNull!
|
||||
0:? Linker Objects
|
||||
0:? 'iv4' (in 4-component vector of float)
|
||||
0:? 'ps' (uniform float)
|
||||
0:? 'gl_ClipDistance' (4-element array of float)
|
||||
0:? '__anon__0' (layout(shared ) uniform block)
|
||||
0:? '__anon__1' (layout(shared ) uniform block)
|
||||
0:? 'gl_VertexID' (gl_VertexId int)
|
||||
0:? 'gl_InstanceID' (gl_InstanceId int)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user