GLSL: disable row major load around on GLES.

This commit is contained in:
Yuwen Wu 2022-08-23 19:27:01 +08:00
parent 33e19e86bf
commit 9afa82e7b8

View File

@ -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;