Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/KhronosGroup/SPIRV-Cross.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBill Hollings <bill.hollings@brenwill.com>2021-09-04 01:20:49 +0300
committerBill Hollings <bill.hollings@brenwill.com>2021-09-04 01:20:49 +0300
commit5fb1ca4f0d04f2b169086e1a48a465bc2dc29169 (patch)
treea66f386b115f2bbaa27ae0e1d0c162d7248a339c /spirv_glsl.hpp
parent51d8e7be9443aebb773192812ef7e4d67a7adce1 (diff)
Add support for additional ops in OpSpecConstantOp.
MSL: Support op OpQuantizeToF16 in OpSpecConstantOp. All: Support op OpSRem in OpSpecConstantOp.
Diffstat (limited to 'spirv_glsl.hpp')
-rw-r--r--spirv_glsl.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/spirv_glsl.hpp b/spirv_glsl.hpp
index 83d4d72b..d9594d30 100644
--- a/spirv_glsl.hpp
+++ b/spirv_glsl.hpp
@@ -386,7 +386,7 @@ protected:
virtual void emit_struct_padding_target(const SPIRType &type);
virtual std::string image_type_glsl(const SPIRType &type, uint32_t id = 0);
std::string constant_expression(const SPIRConstant &c);
- std::string constant_op_expression(const SPIRConstantOp &cop);
+ virtual std::string constant_op_expression(const SPIRConstantOp &cop);
virtual std::string constant_expression_vector(const SPIRConstant &c, uint32_t vector);
virtual void emit_fixup();
virtual std::string variable_decl(const SPIRType &type, const std::string &name, uint32_t id = 0);