diff options
author | ReinUsesLisp <[email protected]> | 2018-08-28 04:46:18 -0300 |
---|---|---|
committer | ReinUsesLisp <[email protected]> | 2018-08-28 04:46:18 -0300 |
commit | a582641b9925435f148d87983955cc1b3f356e81 (patch) | |
tree | cafc73176fb3b4c4c850b1ff1ff502cfc0a924f5 /tests | |
parent | 42c456f24f7dd7ed4775d939f506a174fa75e8bb (diff) | |
download | sirit-a582641b9925435f148d87983955cc1b3f356e81.tar.gz sirit-a582641b9925435f148d87983955cc1b3f356e81.zip |
Add OpConstantNull
Diffstat (limited to 'tests')
-rw-r--r-- | tests/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/main.cpp b/tests/main.cpp index 2df624e..b853d07 100644 --- a/tests/main.cpp +++ b/tests/main.cpp @@ -40,7 +40,6 @@ public: ConstantTrue(TypeBool()); ConstantTrue(TypeBool()); ConstantFalse(TypeBool()); - Constant(TypeFloat(64), Literal(6342.2)); Constant(TypeFloat(64), Literal(6342.21)); Constant(TypeFloat(32), Literal(6342.21f)); Constant(TypeFloat(16), Literal(30u)); @@ -50,6 +49,7 @@ public: ConstantComposite(TypeVector(TypeFloat(32), 2), {Constant(TypeFloat(32), Literal(50.0f)), Constant(TypeFloat(32), Literal(50.0f))}); + ConstantNull(TypeVector(TypeInt(64, false), 4)); auto main_type{TypeFunction(TypeVoid())}; auto main_func{Emit(Function(TypeVoid(), spv::FunctionControlMask::MaskNone, main_type))}; |