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:
John Kessenich 2013-09-26 00:45:21 +00:00
parent 337dbc7d8c
commit 9839e2440e
45 changed files with 505 additions and 243 deletions

View file

@ -217,6 +217,7 @@ ERROR: node is still EOpNull!
0:? 'c1D' (smooth in lowp float)
0:? 'c2D' (smooth in lowp 2-component vector of float)
0:? 'c3D' (smooth in lowp 3-component vector of float)
0:? 'c4D' (smooth lowp 4-component vector of float)
0:? 'ic1D' (flat in mediump int)
0:? 'ic2D' (flat in mediump 2-component vector of int)
0:? 'ic3D' (flat in mediump 3-component vector of int)
@ -227,5 +228,6 @@ ERROR: node is still EOpNull!
0:? 's2' (smooth in structure)
0:? 'sc' (out lowp 3-component vector of float)
0:? 'sf' (out lowp float)
0:? 'arrayedSampler' (uniform 5-element array of lowp sampler2D)
0:? 'multiInst' (layout(shared ) uniform 2-element array of block)