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:
Diffstat (limited to 'spirv_glsl.hpp')
-rw-r--r--spirv_glsl.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/spirv_glsl.hpp b/spirv_glsl.hpp
index 15ffac29..f8d17259 100644
--- a/spirv_glsl.hpp
+++ b/spirv_glsl.hpp
@@ -989,6 +989,12 @@ protected:
private:
void init();
+
+ SmallVector<ConstantID> get_composite_constant_ids(ConstantID const_id);
+ void fill_composite_constant(SPIRConstant &constant, TypeID type_id, const SmallVector<ConstantID> &initializers);
+ void set_composite_constant(ConstantID const_id, TypeID type_id, const SmallVector<ConstantID> &initializers);
+ TypeID get_composite_member_type(TypeID type_id, uint32_t member_idx);
+ std::unordered_map<uint32_t, SmallVector<ConstantID>> const_composite_insert_ids;
};
} // namespace SPIRV_CROSS_NAMESPACE