Commit 2b0a25ba authored by Vinson Lee's avatar Vinson Lee

Add GLSL test case for function recursion.

This test triggers a crash in the AMD Catalyst 10.12 GLSL compiler.
parent 8cb2f47c
// [config]
// expect_result: fail
// glsl_version: 1.20
// [end config]
/*
* GLSL 1.20
* 6.1.1 Function Calling Conventions
* Recursion is not allowed, not even statically.
*/
#version 120
int A()
{
return A();
}
void main()
{
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