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:
authorpapostolou <panag.apostolou@gmail.com>2016-05-18 10:46:33 +0300
committerpapostolou <panag.apostolou@gmail.com>2016-05-19 14:05:58 +0300
commite108d85c9909b409098c8f5ef94f33dc8e42268b (patch)
tree420a5ba434eabbc22a89f83744ae261e2c810f27 /spirv_cpp.hpp
parent5c16c885c020de4cb73e862d62f74b4eecbc2ae2 (diff)
CompilerCPP now properly initializes arrays with constant expressions
Diffstat (limited to 'spirv_cpp.hpp')
-rw-r--r--spirv_cpp.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/spirv_cpp.hpp b/spirv_cpp.hpp
index 133e51c7..b3bafb90 100644
--- a/spirv_cpp.hpp
+++ b/spirv_cpp.hpp
@@ -44,6 +44,7 @@ private:
void emit_uniform(const SPIRVariable &var);
void emit_shared(const SPIRVariable &var);
+ std::string constant_expression(const SPIRConstant &c) override;
std::string argument_decl(const SPIRFunction::Parameter &arg);
std::vector<std::string> resource_registrations;