From 9cc29304538e75ec4ed862f4bbeed40cdc831174 Mon Sep 17 00:00:00 2001 From: Peng Huang Date: Wed, 3 May 2023 23:42:25 +0000 Subject: [PATCH] d3d11: compile d3d11 backend in chromium build So code search cross ref can work for d3d11 backend. Chrome webgpu will only discover D3D12 device right now, so this build d3d11 backend should not break things. Bug: dawn:1705 Change-Id: I2cb6753fe2be1588c9cf1190742f8169164d1662 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/131200 Reviewed-by: Austin Eng Kokoro: Kokoro Commit-Queue: Peng Huang --- scripts/dawn_features.gni | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/dawn_features.gni b/scripts/dawn_features.gni index aa6d551bfc..3e35b5360a 100644 --- a/scripts/dawn_features.gni +++ b/scripts/dawn_features.gni @@ -55,7 +55,7 @@ declare_args() { dawn_complete_static_libs = false # Enables the compilation of Dawn's D3D11 backend - dawn_enable_d3d11 = is_win && !build_with_chromium + dawn_enable_d3d11 = is_win # Enables the compilation of Dawn's D3D12 backend dawn_enable_d3d12 = is_win