Implement GL_EXT_terminate_invocation (#2454)
* 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>
This commit is contained in:
parent
383eaf3293
commit
74e8f05b9f
26 changed files with 6223 additions and 5846 deletions
10
Test/terminate.vert
Normal file
10
Test/terminate.vert
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
#version 400
|
||||
|
||||
void foo() { terminateInvocation; } // ERROR: identifier undeclared
|
||||
|
||||
#extension GL_EXT_terminate_invocation : enable
|
||||
|
||||
void main()
|
||||
{
|
||||
terminateInvocation; // ERROR: wrong stage
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue