glslang: Bug 13724: ES global initializers must be constant.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@30990 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
@@ -39,10 +39,10 @@ FOO
|
||||
#define C int q3 = $ 1
|
||||
#define D int q4 = @ 1
|
||||
|
||||
int a1 = \ 4; // ERROR
|
||||
int a2 = @ 3; // ERROR
|
||||
int a3 = $4; // ERROR
|
||||
int a4 = a2\; // ERROR
|
||||
const highp int a1 = \ 4; // ERROR
|
||||
const highp int a2 = @ 3; // ERROR
|
||||
const highp int a3 = $4; // ERROR
|
||||
const highp int a4 = a2\; // ERROR
|
||||
|
||||
A;
|
||||
B;
|
||||
@@ -62,8 +62,8 @@ D;
|
||||
// anoetuh nonaetu \\\\\\
|
||||
still in comment
|
||||
|
||||
int abdece = 10;
|
||||
int aoeuntaoehu = abd\
|
||||
const int abdece = 10;
|
||||
const int aoeuntaoehu = abd\
|
||||
\
|
||||
\
|
||||
\
|
||||
|
||||
Reference in New Issue
Block a user