mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-06-06 14:43:31 +00:00
Enable testing of compat in dawn_end2end_tests only on GLES
Change-Id: I049bc6499f22ddb359b9d4701eaa5df31f5a652a Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/134340 Commit-Queue: Austin Eng <enga@chromium.org> Reviewed-by: Stephen White <senorblanco@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com>
This commit is contained in:
parent
13f8bf205e
commit
817c076eb8
@ -446,7 +446,11 @@ void DawnTestEnvironment::SelectPreferredAdapterProperties(const dawn::native::I
|
|||||||
wgpu::AdapterProperties properties;
|
wgpu::AdapterProperties properties;
|
||||||
adapter.GetProperties(&properties);
|
adapter.GetProperties(&properties);
|
||||||
|
|
||||||
if (properties.compatibilityMode) {
|
// Skip non-OpenGLES compat adapters. Metal/Vulkan/D3D12 support
|
||||||
|
// core WebGPU.
|
||||||
|
// D3D11 is in an experimental state where it may support core.
|
||||||
|
// See crbug.com/dawn/1820 for determining d3d11 capabilities.
|
||||||
|
if (properties.compatibilityMode && properties.backendType != wgpu::BackendType::OpenGLES) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user