[Fix] (MG_Backend/DirectGLES): revert to targeting essl 320

This commit is contained in:
2026-01-24 19:21:10 +08:00
parent 53e4778054
commit eac7a9e474
+2 -1
View File
@@ -873,7 +873,8 @@ namespace MobileGL::MG_Backend::DirectGLES {
spvc_compiler_options options;
spvcSession.CreateOptions(&options);
spvc_compiler_options_set_uint(options, SPVC_COMPILER_OPTION_GLSL_VERSION, 300);
// TODO: check ESSL version supported by backend driver
spvc_compiler_options_set_uint(options, SPVC_COMPILER_OPTION_GLSL_VERSION, 320);
spvc_compiler_options_set_bool(options, SPVC_COMPILER_OPTION_GLSL_ES, SPVC_TRUE);
spvc_compiler_options_set_bool(options, SPVC_COMPILER_OPTION_GLSL_VULKAN_SEMANTICS, SPVC_FALSE);