Skip to content

Commit 9d24888

Browse files
committed
[d3d12] use windows-rs's bindings for DXC instead of hassle-rs
1 parent 912bdcd commit 9d24888

File tree

8 files changed

+282
-343
lines changed

8 files changed

+282
-343
lines changed

Cargo.lock

Lines changed: 26 additions & 90 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,6 @@ gpu-descriptor = "0.3"
149149
bit-set = "0.8"
150150
gpu-allocator = { version = "0.27", default-features = false }
151151
range-alloc = "0.1"
152-
hassle-rs = "0.11.0"
153152
windows-core = { version = "0.58", default-features = false }
154153

155154
# Gles dependencies

wgpu-hal/Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ dx12 = [
7878
"gpu-allocator/d3d12",
7979
"naga/hlsl-out-if-target-windows",
8080
"windows/Win32_Graphics_Direct3D_Fxc",
81+
"windows/Win32_Graphics_Direct3D_Dxc",
8182
"windows/Win32_Graphics_Direct3D",
8283
"windows/Win32_Graphics_Direct3D12",
8384
"windows/Win32_Graphics_DirectComposition",
@@ -89,7 +90,6 @@ dx12 = [
8990
"windows/Win32_System_Threading",
9091
"windows/Win32_UI_WindowsAndMessaging",
9192
]
92-
dxc_shader_compiler = ["dep:hassle-rs"]
9393
renderdoc = ["dep:libloading", "dep:renderdoc-sys"]
9494
fragile-send-sync-non-atomic-wasm = ["wgt/fragile-send-sync-non-atomic-wasm"]
9595
# Panic when running into an out-of-memory error (for debugging purposes).
@@ -156,7 +156,6 @@ windows = { workspace = true, optional = true }
156156
bit-set = { workspace = true, optional = true }
157157
range-alloc = { workspace = true, optional = true }
158158
gpu-allocator = { workspace = true, optional = true }
159-
hassle-rs = { workspace = true, optional = true }
160159
# For core macros. This crate is also reexported as windows::core.
161160
windows-core = { workspace = true, optional = true }
162161

0 commit comments

Comments
 (0)