fix(wayland): use a horrible wgpu patch to make dmabuf importing work

Signed-off-by: Schmarni <marnistromer@gmail.com>
This commit is contained in:
Schmarni
2025-08-12 05:27:28 +02:00
parent 76d58fe2f5
commit 127641064a
2 changed files with 11 additions and 10 deletions

15
Cargo.lock generated
View File

@@ -3803,8 +3803,7 @@ dependencies = [
[[package]]
name = "naga"
version = "24.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e380993072e52eef724eddfcde0ed013b0c023c3f0417336ed041aa9f076994e"
source = "git+https://github.com/Schmarni-Dev/wgpu?branch=bad_dmabuf_workaround#7830e47fd8359dff6a90ce15da51760bd039827d"
dependencies = [
"arrayvec",
"bit-set 0.8.0",
@@ -6587,8 +6586,7 @@ dependencies = [
[[package]]
name = "wgpu"
version = "24.0.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6b0b3436f0729f6cdf2e6e9201f3d39dc95813fad61d826c1ed07918b4539353"
source = "git+https://github.com/Schmarni-Dev/wgpu?branch=bad_dmabuf_workaround#7830e47fd8359dff6a90ce15da51760bd039827d"
dependencies = [
"arrayvec",
"bitflags 2.9.1",
@@ -6613,8 +6611,7 @@ dependencies = [
[[package]]
name = "wgpu-core"
version = "24.0.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7f0aa306497a238d169b9dc70659105b4a096859a34894544ca81719242e1499"
source = "git+https://github.com/Schmarni-Dev/wgpu?branch=bad_dmabuf_workaround#7830e47fd8359dff6a90ce15da51760bd039827d"
dependencies = [
"arrayvec",
"bit-vec 0.8.0",
@@ -6638,8 +6635,7 @@ dependencies = [
[[package]]
name = "wgpu-hal"
version = "24.0.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f112f464674ca69f3533248508ee30cb84c67cf06c25ff6800685f5e0294e259"
source = "git+https://github.com/Schmarni-Dev/wgpu?branch=bad_dmabuf_workaround#7830e47fd8359dff6a90ce15da51760bd039827d"
dependencies = [
"android_system_properties",
"arrayvec",
@@ -6684,8 +6680,7 @@ dependencies = [
[[package]]
name = "wgpu-types"
version = "24.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "50ac044c0e76c03a0378e7786ac505d010a873665e2d51383dcff8dd227dc69c"
source = "git+https://github.com/Schmarni-Dev/wgpu?branch=bad_dmabuf_workaround#7830e47fd8359dff6a90ce15da51760bd039827d"
dependencies = [
"bitflags 2.9.1",
"js-sys",

View File

@@ -54,6 +54,12 @@ opt-level = 3
bevy_mod_openxr = { git = "https://github.com/Schmarni-Dev/bevy_openxr", branch = "vk_exts" }
bevy_mod_xr = { git = "https://github.com/Schmarni-Dev/bevy_openxr", branch = "vk_exts" }
bevy_gltf = { git = "https://github.com/Schmarni-Dev/bevy", branch = "gltf_backport" }
# TODO: figure out how to not need this horrifing patch
wgpu = { git = "https://github.com/Schmarni-Dev/wgpu", branch = "bad_dmabuf_workaround" }
wgpu-types = { git = "https://github.com/Schmarni-Dev/wgpu", branch = "bad_dmabuf_workaround" }
wgpu-core = { git = "https://github.com/Schmarni-Dev/wgpu", branch = "bad_dmabuf_workaround" }
naga = { git = "https://github.com/Schmarni-Dev/wgpu", branch = "bad_dmabuf_workaround" }
wgpu-hal = { git = "https://github.com/Schmarni-Dev/wgpu", branch = "bad_dmabuf_workaround" }
[dependencies]
# small utility thingys