Add redeclarations of built-in blocks.

Note: lots of test results changed due to listing the members of a block when printing types.

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@23682 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
John Kessenich 2013-10-24 01:25:40 +00:00
parent 94fdd1117b
commit ab41fe5df6
44 changed files with 528 additions and 324 deletions

View file

@ -14,8 +14,8 @@ WARNING: 0:3: varying deprecated in version 130; may be removed in future releas
0:24 Compare Greater Than (bool)
0:24 direct index (int)
0:24 i: direct index for structure (5-element array of int)
0:24 direct index (uniform structure)
0:24 'foo2' (uniform 5-element array of structure)
0:24 direct index (uniform structure{i,f,s1_1})
0:24 'foo2' (uniform 5-element array of structure{i,f,s1_1})
0:24 Constant:
0:24 3 (const int)
0:24 Constant:
@ -30,10 +30,10 @@ WARNING: 0:3: varying deprecated in version 130; may be removed in future releas
0:25 direct index (float)
0:25 direct index (4-component vector of float)
0:25 color: direct index for structure (5-element array of 4-component vector of float)
0:25 direct index (structure)
0:25 s1_1: direct index for structure (7-element array of structure)
0:25 direct index (uniform structure)
0:25 'foo2' (uniform 5-element array of structure)
0:25 direct index (structure{i,f,color})
0:25 s1_1: direct index for structure (7-element array of structure{i,f,color})
0:25 direct index (uniform structure{i,f,s1_1})
0:25 'foo2' (uniform 5-element array of structure{i,f,s1_1})
0:25 Constant:
0:25 3 (const int)
0:25 Constant:
@ -51,10 +51,10 @@ WARNING: 0:3: varying deprecated in version 130; may be removed in future releas
0:27 'scale' (float)
0:27 direct index (float)
0:27 f: direct index for structure (4-element array of float)
0:27 direct index (structure)
0:27 s1_1: direct index for structure (7-element array of structure)
0:27 direct index (uniform structure)
0:27 'foo2' (uniform 5-element array of structure)
0:27 direct index (structure{i,f,color})
0:27 s1_1: direct index for structure (7-element array of structure{i,f,color})
0:27 direct index (uniform structure{i,f,s1_1})
0:27 'foo2' (uniform 5-element array of structure{i,f,s1_1})
0:27 Constant:
0:27 3 (const int)
0:27 Constant:
@ -75,6 +75,6 @@ WARNING: 0:3: varying deprecated in version 130; may be removed in future releas
0:? Linker Objects
0:? 'sampler' (uniform sampler2D)
0:? 'coord' (smooth in 2-component vector of float)
0:? 'foo' (uniform structure)
0:? 'foo2' (uniform 5-element array of structure)
0:? 'foo' (uniform structure{i,f,color})
0:? 'foo2' (uniform 5-element array of structure{i,f,s1_1})