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

@@ -6,8 +6,8 @@ ERROR: 0:18: '' : constant expression required
ERROR: 0:18: '' : array size must be a constant integer expression
ERROR: 0:19: '' : constant expression required
ERROR: 0:19: '' : array size must be a constant integer expression
ERROR: 0:27: '=' : global const initializers must be constant 'const structure'
ERROR: 0:33: '=' : global const initializers must be constant 'const structure'
ERROR: 0:27: '=' : global const initializers must be constant 'const structure{v3,iv2}'
ERROR: 0:33: '=' : global const initializers must be constant 'const structure{v3,iv2,m}'
ERROR: 9 compilation errors. No code generated.
ERROR: node is still EOpNull!
@@ -24,8 +24,8 @@ ERROR: node is still EOpNull!
0:? 'constInt' (const int)
0:? 3 (const int)
0:? 'uniformInt' (uniform int)
0:? 's' (structure)
0:? 's2' (structure)
0:? 's' (structure{v3,iv2})
0:? 's2' (structure{v3,iv2,m})
0:? 'f' (const float)
0:? 3.000000