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>2021-01-04 18:48:35 +0300
committerHans-Kristian Arntzen <post@arntzen-software.no>2021-01-05 14:06:36 +0300
commit175381fe080f83b254fe15da9097250107ddc701 (patch)
treef64922c54bf06b13fdfe33655a8c4dbacee07988 /spirv_glsl.hpp
parent7b7a21c4058c4ef457a793b186224aba6837638c (diff)
GLSL: Handle some extreme edge cases in Output variable initialization.
Deal with patch blocks, arrays of patch blocks, arrays of blocks, etc.
Diffstat (limited to 'spirv_glsl.hpp')
-rw-r--r--spirv_glsl.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/spirv_glsl.hpp b/spirv_glsl.hpp
index c382db67..27afab13 100644
--- a/spirv_glsl.hpp
+++ b/spirv_glsl.hpp
@@ -711,6 +711,7 @@ protected:
std::string type_to_glsl_constructor(const SPIRType &type);
std::string argument_decl(const SPIRFunction::Parameter &arg);
virtual std::string to_qualifiers_glsl(uint32_t id);
+ void fixup_io_block_patch_qualifiers(const SPIRVariable &var);
const char *to_precision_qualifiers_glsl(uint32_t id);
virtual const char *to_storage_qualifiers_glsl(const SPIRVariable &var);
const char *flags_to_qualifiers_glsl(const SPIRType &type, const Bitset &flags);