Sign in
fuchsia
/
third_party
/
glslang
/
refs/heads/upstream/GL_EXT_buffer_reference_uvec2
/
.
/
Test
/
spv.specConstArrayCheck.vert
blob: 9f0dc0b0b7b1da08495fe9d71bea9aacc44c6437 [
file
] [
log
] [
blame
] [
edit
]
#version 450
layout
(
constant_id
=
0
)
const
uint
a
=
1
;
layout
(
constant_id
=
1
)
const
uint
b
=
2
;
layout
(
location
=
0
)
out
uint
o
;
void
main
()
{
uint
arr1
[
a
+
a
];
uint
arr2
[
b
];
o
=
arr1
[
1
];
o
=
arr2
[
1
];
o
=
arr1
[
6
];
o
=
arr2
[
6
];
}