mirror of
https://git.suyu.dev/suyu/sirit.git
synced 2025-12-25 00:36:36 +01:00
Add boolean constants
This commit is contained in:
parent
7580d729c6
commit
bf52ad2d9f
5 changed files with 34 additions and 1 deletions
|
|
@ -120,6 +120,14 @@ public:
|
|||
/// Returns type pipe.
|
||||
const Op* TypePipe(spv::AccessQualifier access_qualifier);
|
||||
|
||||
// Constant
|
||||
|
||||
/// Returns a true scalar constant.
|
||||
const Op* ConstantTrue(const Op* result_type);
|
||||
|
||||
/// Returns a false scalar constant.
|
||||
const Op* ConstantFalse(const Op* result_type);
|
||||
|
||||
// Function
|
||||
|
||||
/// Emits a function.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue