d3d11: enable d3d11 if dawn is not build with chromium

This CL enable build d3d11 by default, if dawn is not build with
chromium. d3d11 backend is not full implemented yet, so no tests
will run against d3d11 backend.

Bug: dawn:1705
Change-Id: Id689ab5168511af0f75f0b3537f246713de5ca45
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/127260
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Peng Huang <penghuang@chromium.org>
This commit is contained in:
Peng Huang
2023-04-14 02:05:17 +00:00
committed by Dawn LUCI CQ
parent 34d52ffa4c
commit f5966b09e1
6 changed files with 32 additions and 6 deletions

View File

@@ -55,7 +55,7 @@ declare_args() {
dawn_complete_static_libs = false
# Enables the compilation of Dawn's D3D11 backend
dawn_enable_d3d11 = false
dawn_enable_d3d11 = is_win && !build_with_chromium
# Enables the compilation of Dawn's D3D12 backend
dawn_enable_d3d12 = is_win