mirror of
https://git.suyu.dev/suyu/sirit.git
synced 2026-01-09 16:08:45 +01:00
Add types
This commit is contained in:
parent
3adb45138b
commit
7580d729c6
2 changed files with 46 additions and 6 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue