Add OpDemoteToHelperInvocation, OpTerminateInvocation

This commit is contained in:
Liam 2022-11-23 17:17:31 -05:00 committed by Rodrigo Locatti
parent 661499f6ec
commit d7ad93a888
3 changed files with 17 additions and 4 deletions

View file

@ -309,12 +309,16 @@ public:
/// Return a value from a function.
Id OpReturnValue(Id value);
/// Fragment-shader discard.
/// Deprecated fragment-shader discard.
void OpKill();
/// Demote fragment shader invocation to a helper invocation
void OpDemoteToHelperInvocation();
void OpDemoteToHelperInvocationEXT();
/// Fragment-shader discard.
void OpTerminateInvocation();
// Debug
/// Assign a name string to a reference.