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:
@@ -8,7 +8,7 @@ ERROR: 0:42: '[' : array index out of range '5'
|
||||
ERROR: 0:45: '[' : array index out of range '1000'
|
||||
ERROR: 0:46: '[' : array index out of range '-1'
|
||||
ERROR: 0:52: '[' : array index '2' out of range
|
||||
ERROR: 0:54: 'const' : non-matching types for const initializer
|
||||
ERROR: 0:54: 'const' : non-matching or non-convertible constant type for const initializer
|
||||
ERROR: 0:56: '=' : cannot convert from 'const 2-element array of int' to '3-element array of int'
|
||||
ERROR: 0:57: '[]' : scalar integer expression required
|
||||
ERROR: 0:57: '[' : array index out of range '-858993459'
|
||||
|
||||
Reference in New Issue
Block a user