Commit 61c43041 authored by Vinson Lee's avatar Vinson Lee

Add more multi-dimensional array negative tests.

Catalyst 10.12 crashes on 4-dimensional arrays.
parent e33d54af
// [config]
// expect_result: fail
// glsl_version: 1.10
// [end config]
void main()
{
/* GLSL 1.10 4.1.9 Arrays
Only one-dimensional arrays may be declared.
*/
int a[1][2][3];
gl_Position = gl_Vertex;
}
// [config]
// expect_result: fail
// glsl_version: 1.10
// [end config]
void main()
{
/* GLSL 1.10 4.1.9 Arrays
Only one-dimensional arrays may be declared.
*/
int a[1][2][3][4];
gl_Position = gl_Vertex;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment