refactor: gpu webgl fallback and batched command encoding

Made-with: Cursor
This commit is contained in:
Maze Winther
2026-04-13 05:01:51 +02:00
parent 0d0d737563
commit dbd68ff139
8 changed files with 439 additions and 125 deletions
+5 -1
View File
@@ -8,6 +8,10 @@ bytemuck = { version = "1.25.0", features = ["derive"] }
thiserror = "2.0.18"
wgpu = "29.0.1"
[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen = "0.2.116"
web-sys = { version = "0.3.93", features = ["Document", "Window", "HtmlCanvasElement", "OffscreenCanvasRenderingContext2d", "ImageData"] }
[features]
default = []
wasm = []
wasm = ["wgpu/webgl"]