mirror of
https://git.suyu.dev/suyu/sirit.git
synced 2026-01-06 22:49:28 +01:00
Add DemoteToHelperInvocation support
This commit is contained in:
parent
4b1ff612c4
commit
0ef6e807ab
3 changed files with 14 additions and 8 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue