Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
mesa3d
/
29285882676388aacff123e8bdf025904abf8ea9
/
.
/
src
/
glsl
/
tests
/
array-10.glsl
blob: 019aa21150fd43fb90c47ff23a225527aaf0b99e [
file
] [
log
] [
blame
]
/* FAIL - array constructors forbidden in GLSL 1.10
*
* This can also generate an error because the 'vec4[]' style syntax is
* illegal in GLSL 1.10.
*/
void
main
()
{
vec4 a
[
2
]
=
vec4
[
2
]
(
vec4
(
1.0
),
vec4
(
2.0
));
gl_Position
=
gl_Vertex
;
}