aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorReinUsesLisp <[email protected]>2021-03-19 18:46:11 -0300
committerReinUsesLisp <[email protected]>2021-03-19 18:46:11 -0300
commit0ef6e807abc9ac74343568c27de5b500093d4ae8 (patch)
tree4f6130ad360991a4afb7df024e5207d97b02242a /include
parent4b1ff612c45c9b518c0e5cb8230805829c0cd12a (diff)
downloadsirit-0ef6e807abc9ac74343568c27de5b500093d4ae8.tar.gz
sirit-0ef6e807abc9ac74343568c27de5b500093d4ae8.zip
Add DemoteToHelperInvocation support
Diffstat (limited to 'include')
-rw-r--r--include/sirit/sirit.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/sirit/sirit.h b/include/sirit/sirit.h
index 0c6325d..574a9cc 100644
--- a/include/sirit/sirit.h
+++ b/include/sirit/sirit.h
@@ -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