diff options
author | Liam <[email protected]> | 2022-11-23 17:17:31 -0500 |
---|---|---|
committer | Rodrigo Locatti <[email protected]> | 2022-11-23 22:43:28 -0300 |
commit | d7ad93a88864bda94e282e95028f90b5784e4d20 (patch) | |
tree | caf847f80dc6cfda0a220e6b85f05a71fe4e33de /include | |
parent | 661499f6ecb85a81e18f160ae7cc2302b958e109 (diff) | |
download | sirit-d7ad93a88864bda94e282e95028f90b5784e4d20.tar.gz sirit-d7ad93a88864bda94e282e95028f90b5784e4d20.zip |
Add OpDemoteToHelperInvocation, OpTerminateInvocation
Diffstat (limited to 'include')
-rw-r--r-- | include/sirit/sirit.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/sirit/sirit.h b/include/sirit/sirit.h index af63d69..6ced1a8 100644 --- a/include/sirit/sirit.h +++ b/include/sirit/sirit.h @@ -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. |