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
/
spv.specConstArrayCheck.vert
1
#version 450
\r
2
\r
3
layout(constant_id = 0) const uint a = 1;
\r
4
layout(constant_id = 1) const uint b = 2;
\r
5
layout(location = 0) out uint o;
\r
6
\r
7
void main() {
\r
8
uint arr1[a+a];
\r
9
uint arr2[b];
\r
10
o = arr1[1];
\r
11
o = arr2[1];
\r
12
o = arr1[6];
\r
13
o = arr2[6];
\r
14
}
\r