Bug 1961411 - build(webgpu): update WGPU to 5304c3ca4a43e78d6a8e3b45d8d3f76216f2c1a6 r=webgpu-reviewers,supply-chain-reviewers,nical

Differential Revision: https://phabricator.services.mozilla.com/D246054
This commit is contained in:
Erich Gubler
2025-04-24 02:38:55 +00:00
parent ab4f388610
commit 09e57a07b3
107 changed files with 2642 additions and 2071 deletions

View File

@@ -17,7 +17,7 @@ default = []
[dependencies.wgc]
package = "wgpu-core"
git = "https://github.com/gfx-rs/wgpu"
rev = "f1c496523ff0aa10c162fd01ad606960e925a5a4"
rev = "5304c3ca4a43e78d6a8e3b45d8d3f76216f2c1a6"
# TODO: remove the replay feature on the next update containing https://github.com/gfx-rs/wgpu/pull/5182
features = [
"serde",
@@ -33,32 +33,32 @@ features = [
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.wgc]
package = "wgpu-core"
git = "https://github.com/gfx-rs/wgpu"
rev = "f1c496523ff0aa10c162fd01ad606960e925a5a4"
rev = "5304c3ca4a43e78d6a8e3b45d8d3f76216f2c1a6"
features = ["metal"]
# We want the wgpu-core Direct3D backends on Windows.
[target.'cfg(windows)'.dependencies.wgc]
package = "wgpu-core"
git = "https://github.com/gfx-rs/wgpu"
rev = "f1c496523ff0aa10c162fd01ad606960e925a5a4"
rev = "5304c3ca4a43e78d6a8e3b45d8d3f76216f2c1a6"
features = ["dx12"]
# We want the wgpu-core Vulkan backend on Linux and Windows.
[target.'cfg(any(windows, all(unix, not(any(target_os = "macos", target_os = "ios")))))'.dependencies.wgc]
package = "wgpu-core"
git = "https://github.com/gfx-rs/wgpu"
rev = "f1c496523ff0aa10c162fd01ad606960e925a5a4"
rev = "5304c3ca4a43e78d6a8e3b45d8d3f76216f2c1a6"
features = ["vulkan"]
[dependencies.wgt]
package = "wgpu-types"
git = "https://github.com/gfx-rs/wgpu"
rev = "f1c496523ff0aa10c162fd01ad606960e925a5a4"
rev = "5304c3ca4a43e78d6a8e3b45d8d3f76216f2c1a6"
[dependencies.wgh]
package = "wgpu-hal"
git = "https://github.com/gfx-rs/wgpu"
rev = "f1c496523ff0aa10c162fd01ad606960e925a5a4"
rev = "5304c3ca4a43e78d6a8e3b45d8d3f76216f2c1a6"
features = ["oom_panic", "device_lost_panic", "internal_error_panic"]
[target.'cfg(windows)'.dependencies]

View File

@@ -8,8 +8,8 @@ origin:
name: wgpu
description: A cross-platform pure-Rust graphics API, modeled on the WebGPU standard
url: https://github.com/gfx-rs/wgpu
release: f1c496523ff0aa10c162fd01ad606960e925a5a4 (2025-04-11T18:18:43Z).
revision: f1c496523ff0aa10c162fd01ad606960e925a5a4
release: 5304c3ca4a43e78d6a8e3b45d8d3f76216f2c1a6 (2025-04-18T18:56:34Z).
revision: 5304c3ca4a43e78d6a8e3b45d8d3f76216f2c1a6
license: ['MIT', 'Apache-2.0']
updatebot:

View File

@@ -136,7 +136,6 @@ pub extern "C" fn wgpu_server_new(owner: *mut c_void, use_dxc: bool) -> *mut Glo
let dx12_shader_compiler = if use_dxc {
wgt::Dx12Compiler::DynamicDxc {
dxc_path: "dxcompiler.dll".into(),
dxil_path: "dxil.dll".into(),
max_shader_model: wgt::DxcShaderModel::V6_6,
}
} else {