Unify the 8 grammar productions for declaring variables. This greatly simplifies making changes for this set of productions.
This change also naturally picks up redeclarations of built-in arrays and the addition of the remaining linker objects of const, arrays, etc. git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@23246 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
@@ -222,6 +222,8 @@ ERROR: node is still EOpNull!
|
||||
0:? Linker Objects
|
||||
0:? 'transforms' (layout(shared ) uniform 4-element array of block)
|
||||
0:? 'normal' (layout(location=3 ) in 4-component vector of float)
|
||||
0:? 'colors' (layout(location=6 ) in 3-element array of 4-component vector of float)
|
||||
0:? 's' (layout(location=3 ) structure)
|
||||
0:? 'var1' (smooth out 4-component vector of float)
|
||||
0:? 'var5' (smooth out 4-component vector of float)
|
||||
0:? 'var7' (smooth out 4-component vector of float)
|
||||
@@ -244,6 +246,7 @@ ERROR: node is still EOpNull!
|
||||
0:? 'd' (in 4-component vector of float)
|
||||
0:? 'v' (smooth out 4-component vector of float)
|
||||
0:? '__anon__2' (layout(shared ) uniform block)
|
||||
0:? 'shv' (shared 4-component vector of float)
|
||||
0:? 'img1' (uniform image2D)
|
||||
0:? 'img2' (coherent uniform image2D)
|
||||
0:? 'gl_VertexID' (gl_VertexId int)
|
||||
|
||||
Reference in New Issue
Block a user