Add function "const", where the initializer does not have to be a compile-time constant.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@23566 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
@@ -1,18 +1,23 @@
|
||||
Warning, version 330 is not yet complete; some version-specific features are present, but many are missing.
|
||||
ERROR: 0:14: '=' : assigning non-constant to 'const int'
|
||||
ERROR: 0:14: 'non-constant initializer' : not supported for this version or the enabled extensions
|
||||
ERROR: 0:17: '' : constant expression required
|
||||
ERROR: 0:17: '' : array size must be a constant integer expression
|
||||
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: '=' : assigning non-constant to 'const structure'
|
||||
ERROR: 0:33: '=' : assigning non-constant to 'const structure'
|
||||
ERROR: 0:27: '=' : global const initializers must be constant 'const structure'
|
||||
ERROR: 0:33: '=' : global const initializers must be constant 'const structure'
|
||||
ERROR: 9 compilation errors. No code generated.
|
||||
|
||||
ERROR: node is still EOpNull!
|
||||
0:10 Function Definition: main( (void)
|
||||
0:10 Function Parameters:
|
||||
0:? Sequence
|
||||
0:14 Sequence
|
||||
0:14 move second child to first child (int)
|
||||
0:14 'a3' (const (read only) int)
|
||||
0:14 'uniformInt' (uniform int)
|
||||
0:? Linker Objects
|
||||
0:? 'inVar' (smooth in 4-component vector of float)
|
||||
0:? 'outVar' (out 4-component vector of float)
|
||||
@@ -21,4 +26,6 @@ ERROR: node is still EOpNull!
|
||||
0:? 'uniformInt' (uniform int)
|
||||
0:? 's' (structure)
|
||||
0:? 's2' (structure)
|
||||
0:? 'f' (const float)
|
||||
0:? 3.000000
|
||||
|
||||
|
||||
Reference in New Issue
Block a user