mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-09 19:01:14 +02:00
Don't use optimized GLSL on android for now
This commit is contained in:
parent
4cf4a5582d
commit
85b92a372d
1 changed files with 6 additions and 1 deletions
|
@ -224,11 +224,16 @@ String Source::getSource(Dialect dialect, Variant variant) const {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef Q_OS_ANDROID
|
||||||
|
// SPIRV cross injects "#extension GL_OES_texture_buffer : require" into the GLSL shaders,
|
||||||
|
// which breaks android rendering
|
||||||
|
return variantSource.scribe;
|
||||||
|
#else
|
||||||
if (variantSource.glsl.empty()) {
|
if (variantSource.glsl.empty()) {
|
||||||
return variantSource.scribe;
|
return variantSource.scribe;
|
||||||
}
|
}
|
||||||
|
|
||||||
return variantSource.glsl;
|
return variantSource.glsl;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
const Reflection& Source::getReflection(Dialect dialect, Variant variant) const {
|
const Reflection& Source::getReflection(Dialect dialect, Variant variant) const {
|
||||||
|
|
Loading…
Reference in a new issue