repo.or.cz
/
glslang.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Bump github/codeql-action from 3.27.1 to 3.27.4
[glslang.git]
/
Test
/
mixedArrayDecls.frag
blob
aff4f78a56286ff62aa0ec5dfc3c4cb9b868cfa4
1
#version 450
\r
2
\r
3
struct S {
\r
4
int[3] a[2], b[5];
\r
5
};
\r
6
\r
7
S s;
\r
8
\r
9
int[5] c[4], d[8];
\r
10
int[9] e[], f[];
\r
11
int e[11][9];
\r
12
int f[13][9];
\r
13
\r
14
int[14] g[], h[];
\r
15
\r
16
int [14][15][6] foo(int[6] p[14][15]) { return p; }
\r
17
\r
18
void main()
\r
19
{
\r
20
g[3];
\r
21
h[2];
\r
22
}
\r
23
\r
24
float[4][3][2] bar() { float[3][2] a[4]; return a; }
\r
25
\r
26
in inbname {
\r
27
float[7] f[8][9];
\r
28
} inbinst[4][5][6];
\r
29
\r
30
float[3][2] barm[4]() { float[3][2] a[4]; return a; } // ERROR
\r