projects
/
platform
/
upstream
/
glslang.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #2892 from greg-lunarg/mb
[platform/upstream/glslang.git]
/
Test
/
mixedArrayDecls.frag
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