mirror of
https://github.com/RPCS3/glslang.git
synced 2024-11-24 11:50: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
|
|
}
|