diff options
Diffstat (limited to 'src/glsl/tests/array-12.glsl')
-rw-r--r-- | src/glsl/tests/array-12.glsl | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/glsl/tests/array-12.glsl b/src/glsl/tests/array-12.glsl new file mode 100644 index 00000000000..7fc9579452f --- /dev/null +++ b/src/glsl/tests/array-12.glsl @@ -0,0 +1,11 @@ +#version 120 +/* FAIL - array must have an implicit or explicit size */ + +void main() +{ + vec4 a[]; + + a = vec4 [2] (vec4(1.0), vec4(2.0)); + + gl_Position = gl_Vertex; +} |