diff options
author | ReinUsesLisp <[email protected]> | 2018-08-26 19:35:48 -0300 |
---|---|---|
committer | ReinUsesLisp <[email protected]> | 2018-08-26 19:35:48 -0300 |
commit | bf52ad2d9f4001b66058864249fdfe649ff0bfce (patch) | |
tree | 772138871785ee20110e4fed6d5b97272962ec33 /tests | |
parent | 7580d729c64d9b472af44b696a57cc7df7d1c465 (diff) | |
download | sirit-bf52ad2d9f4001b66058864249fdfe649ff0bfce.tar.gz sirit-bf52ad2d9f4001b66058864249fdfe649ff0bfce.zip |
Add boolean constants
Diffstat (limited to 'tests')
-rw-r--r-- | tests/main.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/main.cpp b/tests/main.cpp index b801239..159a8d9 100644 --- a/tests/main.cpp +++ b/tests/main.cpp @@ -38,6 +38,9 @@ public: TypeRuntimeArray(TypeInt(32, true)); TypeStruct({TypeInt(32, true), TypeFloat(64)}); TypePointer(spv::StorageClass::Private, TypeFloat(16)); + ConstantTrue(TypeBool()); + ConstantTrue(TypeBool()); + ConstantFalse(TypeBool()); auto main_type{TypeFunction(TypeVoid())}; auto main_func{Emit(Function(TypeVoid(), spv::FunctionControlMask::MaskNone, main_type))}; |