Commit 0e5d019e by Courtney Goeltzenleuchter Committed by Commit Bot

Vulkan: Enable 3.0 as default context version

Now that 3.0 support is passing dEQP, always return that as the context version to use (unless app asks for 1.0). Test: angle_end2end --gtest_filter=EGLBackwardsCompatibleContextTest.BackwardsCompatibleEnabledES3/* Bug: angleproject:3750 Change-Id: I0402ac015acfc22e84a985fe75346999bcc47188 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1906202Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org> Reviewed-by: 's avatarTobin Ehlis <tobine@google.com> Commit-Queue: Courtney Goeltzenleuchter <courtneygo@google.com>
parent edc560fe
...@@ -1305,7 +1305,7 @@ gl::Version RendererVk::getMaxSupportedESVersion() const ...@@ -1305,7 +1305,7 @@ gl::Version RendererVk::getMaxSupportedESVersion() const
gl::Version RendererVk::getMaxConformantESVersion() const gl::Version RendererVk::getMaxConformantESVersion() const
{ {
return std::min(getMaxSupportedESVersion(), gl::Version(2, 0)); return std::min(getMaxSupportedESVersion(), gl::Version(3, 0));
} }
void RendererVk::initFeatures(const ExtensionNameList &deviceExtensionNames) void RendererVk::initFeatures(const ExtensionNameList &deviceExtensionNames)
......
...@@ -299,6 +299,7 @@ ...@@ -299,6 +299,7 @@
// Android Vulkan backend only failures // Android Vulkan backend only failures
2549 VULKAN ANDROID : dEQP-GLES2.functional.fragment_ops.depth_stencil.stencil* = SKIP 2549 VULKAN ANDROID : dEQP-GLES2.functional.fragment_ops.depth_stencil.stencil* = SKIP
4109 VULKAN ANDROID : dEQP-GLES2.functional.texture.mipmap.cube.projected.nearest_linear = FAIL
// Adreno line rasterization is not conformant. // Adreno line rasterization is not conformant.
2830 VULKAN ANDROID : dEQP-GLES2.functional.rasterization.primitives.line_loop = FAIL 2830 VULKAN ANDROID : dEQP-GLES2.functional.rasterization.primitives.line_loop = FAIL
......
...@@ -133,8 +133,6 @@ TEST_P(EGLBackwardsCompatibleContextTest, BackwardsCompatibleEnabledES3) ...@@ -133,8 +133,6 @@ TEST_P(EGLBackwardsCompatibleContextTest, BackwardsCompatibleEnabledES3)
{ {
ANGLE_SKIP_TEST_IF( ANGLE_SKIP_TEST_IF(
!IsEGLDisplayExtensionEnabled(mDisplay, "EGL_ANGLE_create_context_backwards_compatible")); !IsEGLDisplayExtensionEnabled(mDisplay, "EGL_ANGLE_create_context_backwards_compatible"));
// TODO(anglebug.com/3750): Re-evaluate when Vulkan can return 3.0 contexts
ANGLE_SKIP_TEST_IF(isVulkanRenderer());
EGLint es3ContextAttribs[] = { EGLint es3ContextAttribs[] = {
EGL_CONTEXT_MAJOR_VERSION, 3, EGL_CONTEXT_MINOR_VERSION, 0, EGL_NONE, EGL_NONE}; EGL_CONTEXT_MAJOR_VERSION, 3, EGL_CONTEXT_MINOR_VERSION, 0, EGL_NONE, EGL_NONE};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment