glslang/Test/terminate.frag

11 lines
204 B
GLSL
Raw Normal View History

#version 400
void foo() { terminateInvocation; } // ERROR: identifier undeclared
#extension GL_EXT_terminate_invocation : enable
void main()
{
int terminateInvocation; // syntax ERROR
}