Add deps on DirectXShaderCompiler and DirectX-Headers
This is the first step in getting Dawn to build DXC.
Bug: dawn:1862
Change-Id: I22d01767f1e42aeedbaa74f4c1f926c6cf27ee9f
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/138000
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Antonio Maiorano <amaiorano@google.com>
Reviewed-by: Austin Eng <enga@chromium.org>
diff --git a/DEPS b/DEPS
index 0711408..6e3145b 100644
--- a/DEPS
+++ b/DEPS
@@ -21,6 +21,7 @@
# https://chrome-infra-packages.appspot.com/p/infra/3pp/tools/ninja
'dawn_ninja_version': 'version:2@1.11.1.chromium.6',
'dawn_go_version': 'version:2@1.18.4',
+ 'dawn_build_dxc': False,
'node_darwin_arm64_sha': '31859fc1fa0994a95f44f09c367d6ff63607cfde',
'node_darwin_x64_sha': '16dfd094763b71988933a31735f9dea966f9abd6',
@@ -160,6 +161,16 @@
'condition': 'dawn_standalone',
},
+ 'third_party/dxc': {
+ 'url': '{chromium_git}/external/github.com/microsoft/DirectXShaderCompiler@5e080a772910f147cc447fc34e8eb489f0761144',
+ 'condition': 'dawn_build_dxc',
+ },
+ 'third_party/dxheaders': {
+ # The non-Windows build of DXC depends on DirectX-Headers, and at a specific commit (not ToT)
+ 'url': '{chromium_git}/external/github.com/microsoft/DirectX-Headers@980971e835876dc0cde415e8f9bc646e64667bf7',
+ 'condition': 'dawn_build_dxc and host_os != "win"',
+ },
+
# WebGPU CTS - not used directly by Dawn, only transitively by Chromium.
'third_party/webgpu-cts': {
'url': '{chromium_git}/external/github.com/gpuweb/cts@b033a4f1ae4a0e19ae4d5563fae023001bbf570f',