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:
authorYuwen Wu <atyuwen@gmail.com>2022-08-23 14:27:01 +0300
committerYuwen Wu <atyuwen@gmail.com>2022-08-23 14:27:01 +0300
commit9afa82e7b8ebf29eff349c7d931e18c66bdcc2c9 (patch)
tree65cb7e9651e733562f06174af37c109a1561971e
parent33e19e86bfe60e1418c09df0c65b2f18666e5066 (diff)
GLSL: disable row major load around on GLES.
-rw-r--r--spirv_glsl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/spirv_glsl.cpp b/spirv_glsl.cpp
index fb961c8f..1b679fc9 100644
--- a/spirv_glsl.cpp
+++ b/spirv_glsl.cpp
@@ -649,7 +649,7 @@ string CompilerGLSL::compile()
{
// only NV_gpu_shader5 supports divergent indexing on OpenGL, and it does so without extra qualifiers
backend.nonuniform_qualifier = "";
- backend.needs_row_major_load_workaround = true;
+ backend.needs_row_major_load_workaround = !options.es;
}
backend.allow_precision_qualifiers = options.vulkan_semantics || options.es;
backend.force_gl_in_out_block = true;