Add C-style curly-brace initializers.

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@23565 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
John Kessenich
2013-10-17 19:43:43 +00:00
parent e7c59c187c
commit 779e6b406a
9 changed files with 373 additions and 19 deletions

View File

@@ -1,6 +1,5 @@
ERROR: 0:3: '{ } style initializers' : not supported with this profile: es
ERROR: 0:3: 'initializer' : not supported for this version or the enabled extensions
ERROR: 0:3: '=' : cannot convert from 'const int' to '3-element array of mediump int'
ERROR: 0:7: 'attribute' : not supported in this stage: fragment
ERROR: 0:7: 'float' : type requires declaration of default precision qualifier
ERROR: 0:9: '=' : cannot convert from 'const int' to 'mediump float'
@@ -21,9 +20,16 @@ ERROR: 0:38: 'array comparison' : not supported for this version or the enabled
ERROR: 0:40: 'switch' : Reserved word.
ERROR: 0:40: 'switch statements' : not supported for this version or the enabled extensions
ERROR: 0:45: '' : array size required
ERROR: 23 compilation errors. No code generated.
ERROR: 22 compilation errors. No code generated.
ERROR: node is still EOpNull!
0:3 Sequence
0:3 move second child to first child (3-element array of mediump int)
0:3 'a' (3-element array of mediump int)
0:3 Constant:
0:3 2 (const int)
0:3 3 (const int)
0:3 4 (const int)
0:17 Function Definition: main( (void)
0:17 Function Parameters:
0:19 Sequence