From 4567c3b4684c00a0d32293aaa63c2d344fb3affb Mon Sep 17 00:00:00 2001 From: BZLZHH Date: Sat, 1 Aug 2026 08:09:20 -0400 Subject: [PATCH] [Fix] (DirectVulkan): advertise GL_ARB_texture_multisample unconditionally GL_ARB_texture_multisample was implemented (glTexImage2D/3DMultisample, GL_TEXTURE_2D_MULTISAMPLE) but never listed in BuildAdvertisedExtensions. dEQP's GL 3.1 context loader only binds non-core-until-3.2 entry points when the extension string is present, so glTexImage2DMultisample stayed a null function pointer and KHR-GL31.texture_size_promotion.functional crashed on the null call. GL 3.2+ contexts treat it as core and were unaffected. --- MobileGL/MG_Backend/DirectVulkan/BackendObject_DirectVulkan.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MobileGL/MG_Backend/DirectVulkan/BackendObject_DirectVulkan.cpp b/MobileGL/MG_Backend/DirectVulkan/BackendObject_DirectVulkan.cpp index 0c2f8654..036faa43 100644 --- a/MobileGL/MG_Backend/DirectVulkan/BackendObject_DirectVulkan.cpp +++ b/MobileGL/MG_Backend/DirectVulkan/BackendObject_DirectVulkan.cpp @@ -526,7 +526,7 @@ namespace MobileGL::MG_Backend::DirectVulkan { E_GL_ARB_multi_draw_indirect, E_GL_ARB_indirect_parameters, E_GL_EXT_framebuffer_object, E_GL_ARB_depth_texture, E_GL_ARB_buffer_storage, E_GL_ARB_texture_storage, E_GL_ARB_texture_storage_multisample, - E_GL_ARB_clear_texture, E_GL_ARB_direct_state_access, + E_GL_ARB_texture_multisample, E_GL_ARB_clear_texture, E_GL_ARB_direct_state_access, E_GL_ARB_shader_draw_parameters, E_GL_ARB_gpu_shader_int64, E_GL_KHR_debug, E_GL_ARB_gpu_shader5, E_GL_ARB_multi_bind, E_GL_ARB_shading_language_420pack, E_GL_ARB_vertex_attrib_binding, E_GL_ARB_shader_image_size};