aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorReinUsesLisp <[email protected]>2019-11-02 19:39:41 -0300
committerReinUsesLisp <[email protected]>2019-11-02 19:39:41 -0300
commit9b897c35411353a7578a2102fde53ae6ba0878e5 (patch)
tree33fbc6ba9d3568c859f980f79f424dec939e3c9e /include
parent3067893923fa74411ae41c15f5c819c95cc8c295 (diff)
downloadsirit-9b897c35411353a7578a2102fde53ae6ba0878e5.tar.gz
sirit-9b897c35411353a7578a2102fde53ae6ba0878e5.zip
Add OpGroupNonUniformShuffleXor
Diffstat (limited to 'include')
-rw-r--r--include/sirit/sirit.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/sirit/sirit.h b/include/sirit/sirit.h
index 49312f0..2181d26 100644
--- a/include/sirit/sirit.h
+++ b/include/sirit/sirit.h
@@ -939,6 +939,12 @@ public:
/// Query the number of samples available per texel fetch in a multisample image.
Id OpImageQuerySamples(Id result_type, Id image);
+ // Group
+
+ /// Return the value of the invocation identified by the current invocation's id within the
+ /// group xor'ed with mask.
+ Id OpGroupNonUniformShuffleXor(Id result_type, spv::Scope scope, Id value, Id mask);
+
private:
Id AddCode(std::unique_ptr<Op> op);