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 #2891 from dneto0/hlsl-namespace
[platform/upstream/glslang.git]
/
Test
/
link1.vk.frag
1
#version 450
\r
2
\r
3
vec4 getColor();
\r
4
\r
5
layout(location=0) out vec4 color;
\r
6
\r
7
int a1[]; // max size from link1
\r
8
int a2[]; // max size from link2
\r
9
int b[5];
\r
10
int c[];
\r
11
int i;
\r
12
\r
13
layout (binding = 0) buffer bnameRuntime { float r[]; };
\r
14
layout (binding = 1) buffer bnameImplicit { float m[]; };
\r
15
\r
16
void main()
\r
17
{
\r
18
color = getColor();
\r
19
\r
20
a1[8] = 1;
\r
21
a2[1] = 1;
\r
22
b[i] = 1;
\r
23
c[3] = 1;
\r
24
}
\r