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:
authorHans-Kristian Arntzen <post@arntzen-software.no>2020-05-25 12:05:42 +0300
committerHans-Kristian Arntzen <post@arntzen-software.no>2020-05-25 14:45:49 +0300
commit58dad82fcb48fe5331f30ebdcde12cfc4afd0b4d (patch)
tree1699e68e7d0cc0b9fa2aa7250fd237f1da60cacb /spirv_reflect.hpp
parentf992548434c234187981adf38fc31c50de6e0f80 (diff)
Handle physical pointers in reflection API.
Diffstat (limited to 'spirv_reflect.hpp')
-rw-r--r--spirv_reflect.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/spirv_reflect.hpp b/spirv_reflect.hpp
index 844d3f1e..9f60e72e 100644
--- a/spirv_reflect.hpp
+++ b/spirv_reflect.hpp
@@ -67,11 +67,12 @@ private:
void emit_resources();
void emit_specialization_constants();
- void emit_type(const SPIRType &type, bool &emitted_open_tag);
+ void emit_type(uint32_t type_id, bool &emitted_open_tag);
void emit_type_member(const SPIRType &type, uint32_t index);
void emit_type_member_qualifiers(const SPIRType &type, uint32_t index);
void emit_type_array(const SPIRType &type);
void emit_resources(const char *tag, const SmallVector<Resource> &resources);
+ bool type_is_reference(const SPIRType &type) const;
std::string to_member_name(const SPIRType &type, uint32_t index) const;