projects
/
filament.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6ec993
)
Fix compatibility with spirv-cross SDK 1.3.236
author
Timo Röhling
<roehling@debian.org>
Fri, 27 Jan 2023 23:24:04 +0000
(
00:24
+0100)
committer
Timo Röhling
<roehling@debian.org>
Thu, 22 Jun 2023 12:15:22 +0000
(14:15 +0200)
Gbp-Pq: Name 0018-Fix-compatibility-with-spirv-cross-SDK-1.3.236.patch
libs/filamat/src/GLSLPostProcessor.cpp
patch
|
blob
|
history
diff --git
a/libs/filamat/src/GLSLPostProcessor.cpp
b/libs/filamat/src/GLSLPostProcessor.cpp
index 678f06966f8c6d7893c2ee59e885a74858a61f0e..c774bd9614b01a336deedd885c33220822a6ba42 100644
(file)
--- a/
libs/filamat/src/GLSLPostProcessor.cpp
+++ b/
libs/filamat/src/GLSLPostProcessor.cpp
@@
-346,7
+346,11
@@
void GLSLPostProcessor::fullOptimization(const TShader& tShader,
if (tShader.getStage() == EShLangFragment && glslOptions.es) {
for (auto i : config.glsl.subpassInputToColorLocation) {
+#if SPV_VERSION >= 0x10600
+ glslCompiler.remap_ext_framebuffer_fetch(i.first, i.second, true);
+#else
glslCompiler.remap_ext_framebuffer_fetch(i.first, i.second);
+#endif
}
}