mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-09 20:10:06 +00:00
74e8f05b9f
* Implement GL_EXT_terminate_invocation. * terminateInvocation: declare the SPV extension * Update test results for spirv-tools and bison version bumps Co-authored-by: John Kessenich <cepheus@frii.com>
11 lines
206 B
GLSL
11 lines
206 B
GLSL
#version 400
|
|
|
|
void foo() { terminateInvocation; } // ERROR: identifier undeclared
|
|
|
|
#extension GL_EXT_terminate_invocation : enable
|
|
|
|
void main()
|
|
{
|
|
terminateInvocation; // ERROR: wrong stage
|
|
}
|