Enable since naga currently has issues translating our SPIRV -> metal

This commit is contained in:
Imbris 2021-06-01 23:54:45 -04:00
parent 2b8eaae572
commit 538677263b
2 changed files with 5 additions and 1 deletions

4
Cargo.lock generated
View File

@ -1946,6 +1946,7 @@ dependencies = [
"arrayvec",
"bitflags",
"fxhash",
"gfx-auxil",
"gfx-hal",
"glow",
"js-sys",
@ -1955,6 +1956,7 @@ dependencies = [
"naga",
"parking_lot 0.11.1",
"raw-window-handle",
"spirv_cross",
"wasm-bindgen",
"web-sys",
]
@ -1971,6 +1973,7 @@ dependencies = [
"copyless",
"foreign-types",
"fxhash",
"gfx-auxil",
"gfx-hal",
"log",
"metal",
@ -1980,6 +1983,7 @@ dependencies = [
"profiling",
"range-alloc",
"raw-window-handle",
"spirv_cross",
"storage-map",
]

View File

@ -45,7 +45,7 @@ i18n = {package = "veloren-i18n", path = "i18n"}
# Graphics
winit = {version = "0.24.0", features = ["serde"]}
wgpu = { version = "=0.8.0", features = ["trace"] }
wgpu = { version = "=0.8.0", features = ["trace", "cross"] }
wgpu-profiler = { git = "https://github.com/Imberflur/wgpu-profiler", tag = "wgpu-0.8" }
bytemuck = { version="1.4", features=["derive"] }
shaderc = "0.6.2"