diff --git a/MobileGL/MG_Backend/DirectGLES/BackendObject_DirectGLES.cpp b/MobileGL/MG_Backend/DirectGLES/BackendObject_DirectGLES.cpp index 90e9c6a3..91e585c1 100644 --- a/MobileGL/MG_Backend/DirectGLES/BackendObject_DirectGLES.cpp +++ b/MobileGL/MG_Backend/DirectGLES/BackendObject_DirectGLES.cpp @@ -749,7 +749,7 @@ namespace MobileGL::MG_Backend::DirectGLES { .ExtraVendor = Nullopt, // Extra vendor .RendererGLInfo = { - .TargetGLVersion = {4, 3, 0}, // GL target version + .TargetGLVersion = {4, 6, 0}, // GL target version .TargetGLSLVersion = {4, 6, 0}, // Target Shading Language Version // Baseline advertisement (no runtime capabilities yet); reconciled once // the ES capabilities exist, see UpdateAdvertisedCapabilityExtensions. @@ -995,10 +995,11 @@ namespace MobileGL::MG_Backend::DirectGLES { Bool textureViewSupported, Bool cubeMapArraySupported) { Vector extensions = { // The version tokens have to reach the version the backend actually claims: - // TargetGLVersion is {4,3,0}, and a list that stopped at OpenGL40 told an + // TargetGLVersion is {4,6,0}, and a list that stopped at OpenGL40 told an // application feature-detecting off these tokens the opposite of what // GL_MAJOR_VERSION / GL_MINOR_VERSION told it. V_OpenGL30, V_OpenGL31, V_OpenGL32, V_OpenGL33, V_OpenGL40, V_OpenGL41, V_OpenGL42, V_OpenGL43, + V_OpenGL44, V_OpenGL45, V_OpenGL46, E_GL_ARB_draw_buffers_blend, E_GL_ARB_compute_shader, E_GL_ARB_shader_storage_buffer_object, E_GL_ARB_shader_image_load_store, E_GL_ARB_clear_buffer_object, E_GL_ARB_program_interface_query, E_GL_ARB_framebuffer_object, E_GL_EXT_framebuffer_object, diff --git a/MobileGL/MG_Backend/DirectVulkan/BackendObject_DirectVulkan.cpp b/MobileGL/MG_Backend/DirectVulkan/BackendObject_DirectVulkan.cpp index 14a0de4e..da91bf5f 100644 --- a/MobileGL/MG_Backend/DirectVulkan/BackendObject_DirectVulkan.cpp +++ b/MobileGL/MG_Backend/DirectVulkan/BackendObject_DirectVulkan.cpp @@ -500,7 +500,7 @@ namespace MobileGL::MG_Backend::DirectVulkan { .RendererName = "Magma", .BackendName = "Direct (Vulkan)", .ExtraVendor = Nullopt, - .RendererGLInfo = {.TargetGLVersion = {4, 3, 0}, + .RendererGLInfo = {.TargetGLVersion = {4, 6, 0}, .TargetGLSLVersion = {4, 6, 0}, // Baseline advertisement (no runtime-gated capabilities); a live // backend reconciles its copy in UpdateAdvertisedExtensions. @@ -516,10 +516,11 @@ namespace MobileGL::MG_Backend::DirectVulkan { Bool cubeMapArraySupported) { Vector extensions = { // The version tokens have to reach the version the backend actually claims: - // TargetGLVersion is {4,3,0}, and a list that stopped at OpenGL40 told an + // TargetGLVersion is {4,6,0}, and a list that stopped at OpenGL40 told an // application feature-detecting off these tokens the opposite of what // GL_MAJOR_VERSION / GL_MINOR_VERSION told it. V_OpenGL30, V_OpenGL31, V_OpenGL32, V_OpenGL33, V_OpenGL40, V_OpenGL41, V_OpenGL42, V_OpenGL43, + V_OpenGL44, V_OpenGL45, V_OpenGL46, E_GL_ARB_draw_buffers_blend, E_GL_ARB_compute_shader, E_GL_ARB_shader_storage_buffer_object, E_GL_ARB_shader_image_load_store, E_GL_ARB_clear_buffer_object, E_GL_ARB_program_interface_query, E_GL_ARB_framebuffer_object, E_GL_ARB_draw_indirect, diff --git a/MobileGL/MG_Test/SanityTest.cpp b/MobileGL/MG_Test/SanityTest.cpp index 74ed4326..184f5533 100644 --- a/MobileGL/MG_Test/SanityTest.cpp +++ b/MobileGL/MG_Test/SanityTest.cpp @@ -240,7 +240,7 @@ TEST(DirectGLESSanity, AdvertisesVoxyRequiredRenderingExtensions) { const auto& extensions = rendererInfo.Extensions; EXPECT_EQ(rendererInfo.TargetGLVersion.Major, 4); - EXPECT_EQ(rendererInfo.TargetGLVersion.Minor, 3); + EXPECT_EQ(rendererInfo.TargetGLVersion.Minor, 6); EXPECT_EQ(rendererInfo.TargetGLVersion.Patch, 0); EXPECT_NE(std::find(extensions.begin(), extensions.end(), MobileGL::E_GL_ARB_compute_shader), @@ -587,7 +587,7 @@ TEST(DirectVulkanSanity, AdvertisesVoxyRequiredRenderingExtensions) { const auto& extensions = rendererInfo.Extensions; EXPECT_EQ(rendererInfo.TargetGLVersion.Major, 4); - EXPECT_EQ(rendererInfo.TargetGLVersion.Minor, 3); + EXPECT_EQ(rendererInfo.TargetGLVersion.Minor, 6); EXPECT_EQ(rendererInfo.TargetGLVersion.Patch, 0); EXPECT_NE(std::find(extensions.begin(), extensions.end(), MobileGL::E_GL_ARB_compute_shader),