From eac7a9e4746b12559f7fb710e645adcb557b61ea Mon Sep 17 00:00:00 2001 From: Swung0x48 Date: Sat, 24 Jan 2026 19:11:56 +0800 Subject: [PATCH] [Fix] (MG_Backend/DirectGLES): revert to targeting essl 320 --- MobileGL/MG_Backend/DirectGLES/Managers.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/MobileGL/MG_Backend/DirectGLES/Managers.cpp b/MobileGL/MG_Backend/DirectGLES/Managers.cpp index 477783d6..04acd607 100644 --- a/MobileGL/MG_Backend/DirectGLES/Managers.cpp +++ b/MobileGL/MG_Backend/DirectGLES/Managers.cpp @@ -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);