Commit 66c41354 authored by Vinson Lee's avatar Vinson Lee

Add test case for array size limit in Mesa 7.8 compiler.

Array sizes greater than 256 trigger an assertion in the Mesa 7.8 GLSL
compiler.
parent d809710a
// [config]
// expect_result: pass
// glsl_version: 1.10
// [end config]
void main()
{
/* Array sizes greater than 256 trigger an assertion in the Mesa
7.8 compiler.
*/
int a[257];
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