Add boolean constants

This commit is contained in:
ReinUsesLisp 2018-08-26 19:35:48 -03:00
parent 7580d729c6
commit bf52ad2d9f
5 changed files with 34 additions and 1 deletions

View file

@ -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.