aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorReinUsesLisp <[email protected]>2018-08-26 19:21:34 -0300
committerReinUsesLisp <[email protected]>2018-08-26 19:21:34 -0300
commit7580d729c64d9b472af44b696a57cc7df7d1c465 (patch)
tree065c8cc87f14f03307c0c9269298e9e6e031ac3e /include
parent3adb45138bf352e3cb3d0e1b526a5100a78a6777 (diff)
downloadsirit-7580d729c64d9b472af44b696a57cc7df7d1c465.tar.gz
sirit-7580d729c64d9b472af44b696a57cc7df7d1c465.zip
Add types
Diffstat (limited to 'include')
-rw-r--r--include/sirit/sirit.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/sirit/sirit.h b/include/sirit/sirit.h
index 85aa71c..255b89b 100644
--- a/include/sirit/sirit.h
+++ b/include/sirit/sirit.h
@@ -105,6 +105,21 @@ public:
/// Returns type function.
const Op* TypeFunction(const Op* return_type, const std::vector<const Op*>& arguments = {});
+ /// Returns type event.
+ const Op* TypeEvent();
+
+ /// Returns type device event.
+ const Op* TypeDeviceEvent();
+
+ /// Returns type reserve id.
+ const Op* TypeReserveId();
+
+ /// Returns type queue.
+ const Op* TypeQueue();
+
+ /// Returns type pipe.
+ const Op* TypePipe(spv::AccessQualifier access_qualifier);
+
// Function
/// Emits a function.