Vulkan: Enable async feature in end2end_tests.

This adds a new async-command-queue-enabled config that we run against
most of the GLES tests in angle_end2end_tests. The tests now test
both with and without the threaded command queue.

Bug: b/172704839
Change-Id: Ife75f8328f23ac150cddf8ad8a6c4b8fc2d83986
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2532655
Reviewed-by: Tim Van Patten <timvp@google.com>
Reviewed-by: Courtney Goeltzenleuchter <courtneygo@google.com>
Commit-Queue: Jamie Madill <jmadill@chromium.org>
This commit is contained in:
Jamie Madill
2020-11-11 08:04:45 -05:00
committed by Commit Bot
parent c360709829
commit 38016632a1
7 changed files with 59 additions and 7 deletions

View File

@@ -221,6 +221,13 @@ bool EGLWindow::initializeDisplay(OSWindow *osWindow,
break;
}
if (params.asyncCommandQueueFeatureVulkan == EGL_TRUE)
{
// TODO(jmadill): Update feature names. b/172704839
enabledFeatureOverrides.push_back("commandProcessor");
enabledFeatureOverrides.push_back("asynchronousCommandProcessing");
}
if (params.hasExplicitMemBarrierFeatureMtl == EGL_FALSE)
{
disabledFeatureOverrides.push_back("has_explicit_mem_barrier_mtl");