diff options
author | ReinUsesLisp <[email protected]> | 2021-03-19 18:46:11 -0300 |
---|---|---|
committer | ReinUsesLisp <[email protected]> | 2021-03-19 18:46:11 -0300 |
commit | 0ef6e807abc9ac74343568c27de5b500093d4ae8 (patch) | |
tree | 4f6130ad360991a4afb7df024e5207d97b02242a /include | |
parent | 4b1ff612c45c9b518c0e5cb8230805829c0cd12a (diff) | |
download | sirit-0ef6e807abc9ac74343568c27de5b500093d4ae8.tar.gz sirit-0ef6e807abc9ac74343568c27de5b500093d4ae8.zip |
Add DemoteToHelperInvocation support
Diffstat (limited to 'include')
-rw-r--r-- | include/sirit/sirit.h | 7 |
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 |