First attempt at a GPU runner
Currently failing with an error I don't understand: ``` wgpu error: Validation Error Caused by: In Device::create_shader_module, label = '...\image_binary.spv' Shader '...\image_binary.spv' parsing error: InvalidTypeWidth(1) ```
This commit is contained in:
+7
-1
@@ -1,7 +1,8 @@
|
||||
[workspace]
|
||||
members = [
|
||||
"enkou-shaders",
|
||||
"enkou-shaders-tests",
|
||||
"examples/image-runner",
|
||||
"examples/image-binary",
|
||||
]
|
||||
resolver = "3"
|
||||
|
||||
@@ -13,6 +14,7 @@ license = "MIT"
|
||||
repository = ""
|
||||
|
||||
[workspace.lints.rust]
|
||||
missing_docs = { level = "warn" }
|
||||
unexpected_cfgs = { level = "allow", check-cfg = ['cfg(target_arch, values("spirv"))'] }
|
||||
|
||||
[workspace.dependencies]
|
||||
@@ -21,6 +23,7 @@ spirv-std = { git = "https://github.com/Rust-GPU/rust-gpu.git", rev = "67f1ff2"
|
||||
|
||||
anyhow = "1.0.102"
|
||||
bytemuck = { version = "1.25.0", features = ["derive"] }
|
||||
futures = "0.3.32"
|
||||
glam = { version = "0.33.1", default-features = false, features = ["bytemuck", "scalar-math"] }
|
||||
image = { version = "0.25.10", default-features = false, features = ["default-formats"]}
|
||||
libm = "0.2.16"
|
||||
@@ -28,3 +31,6 @@ rand = { version = "0.10.1", default-features = false }
|
||||
rand_xoshiro = "0.8.1"
|
||||
rspirv = "0.13.0"
|
||||
tempfile = "3.27.0"
|
||||
thiserror = "2.0.19"
|
||||
wgpu = { version = "30.0.0", features = ["spirv"] }
|
||||
xflags = "0.3.2"
|
||||
|
||||
Reference in New Issue
Block a user