Add DemoteToHelperInvocation support

This commit is contained in:
ReinUsesLisp 2021-03-19 18:46:11 -03:00
parent 4b1ff612c4
commit 0ef6e807ab
3 changed files with 14 additions and 8 deletions

View file

@ -287,13 +287,16 @@ public:
std::span<const Id> labels);
/// Returns with no value from a function with void return type.
Id OpReturn();
void OpReturn();
/// Return a value from a function.
Id OpReturnValue(Id value);
/// Fragment-shader discard.
Id OpKill();
void OpKill();
/// Demote fragment shader invocation to a helper invocation
void OpDemoteToHelperInvocationEXT();
// Debug