@@ -48,7 +48,7 @@ class IGLSLCompiler final : public core::IReferenceCounted
48
48
bool _genDebugInfo = true ,
49
49
std::string* _outAssembly = nullptr ,
50
50
system::logger_opt_ptr logger = nullptr ,
51
- const E_SPIRV_VERSION targetSpirvVersion = ESV_1_5 ) const ;
51
+ const E_SPIRV_VERSION targetSpirvVersion = ESV_1_6 ) const ;
52
52
53
53
/* *
54
54
If _stage is ESS_UNKNOWN, then compiler will try to deduce shader stage from #pragma annotation, i.e.:
@@ -80,7 +80,7 @@ class IGLSLCompiler final : public core::IReferenceCounted
80
80
bool _genDebugInfo = true ,
81
81
std::string* _outAssembly = nullptr ,
82
82
system::logger_opt_ptr logger = nullptr ,
83
- const E_SPIRV_VERSION targetSpirvVersion = ESV_1_5 ) const ;
83
+ const E_SPIRV_VERSION targetSpirvVersion = ESV_1_6 ) const ;
84
84
85
85
core::smart_refctd_ptr<ICPUShader> createSPIRVFromGLSL (
86
86
system::IFile* _sourcefile,
@@ -91,7 +91,7 @@ class IGLSLCompiler final : public core::IReferenceCounted
91
91
bool _genDebugInfo = true ,
92
92
std::string* _outAssembly = nullptr ,
93
93
system::logger_opt_ptr logger = nullptr ,
94
- const E_SPIRV_VERSION targetSpirvVersion = ESV_1_5 ) const ;
94
+ const E_SPIRV_VERSION targetSpirvVersion = ESV_1_6 ) const ;
95
95
96
96
/* *
97
97
Resolves ALL #include directives regardless of any other preprocessor directive.
@@ -113,15 +113,15 @@ class IGLSLCompiler final : public core::IReferenceCounted
113
113
const char * _originFilepath,
114
114
uint32_t _maxSelfInclusionCnt = 4u ,
115
115
system::logger_opt_ptr logger = nullptr ,
116
- const E_SPIRV_VERSION targetSpirvVersion = ESV_1_5 ) const ;
116
+ const E_SPIRV_VERSION targetSpirvVersion = ESV_1_6 ) const ;
117
117
118
118
core::smart_refctd_ptr<ICPUShader> resolveIncludeDirectives (
119
119
system::IFile* _sourcefile,
120
120
IShader::E_SHADER_STAGE _stage,
121
121
const char * _originFilepath,
122
122
uint32_t _maxSelfInclusionCnt = 4u ,
123
123
system::logger_opt_ptr logger = nullptr ,
124
- const E_SPIRV_VERSION targetSpirvVersion = ESV_1_5 ) const ;
124
+ const E_SPIRV_VERSION targetSpirvVersion = ESV_1_6 ) const ;
125
125
126
126
/*
127
127
Creates a formatted copy of the original
0 commit comments