mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-09 21:47:47 +00:00
d3d11: enable d3d11 by default if it is not built with chromium
Bug: dawn:1705 Bug: dawn:1778 Change-Id: I8d84582f6f9e84676572ecb9c174d0117468888b Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/130580 Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Peng Huang <penghuang@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user