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:
Jesse Hall
2020-11-09 08:30:01 -08:00
committed by GitHub
parent 383eaf3293
commit 74e8f05b9f
26 changed files with 6223 additions and 5846 deletions

View File

@@ -357,8 +357,9 @@ public:
// Generate all the code needed to finish up a function.
void leaveFunction();
// Create a discard.
// Create a discard or terminate-invocation.
void makeDiscard();
void makeTerminateInvocation();
// Create a global or function local or IO variable.
Id createVariable(Decoration precision, StorageClass, Id type, const char* name = nullptr,