205 Commits

Author SHA1 Message Date
Firestar99
f58374079a Upgrade wgpu 23 -> 25 (#309)
* difftest: replace error enums with anyhow

* upgrade wgpu 23 -> 25
2025-07-01 10:28:33 +00:00
Firestar99
3b60bf9982 print possible values only once 2025-05-21 17:32:02 +00:00
Firestar99
f4a4ffb303 cargo fmt 2025-05-21 17:32:02 +00:00
jer
0b7db6432c fix: remove unused import 2025-05-21 17:32:02 +00:00
jer
cfa458e277 fix: buff the help menu for the wgpu-runner 2025-05-21 17:32:02 +00:00
Firestar99
e6933e7a91 compile_codegen: allow SpirvBuilder watch to return something on first completion 2025-05-06 08:57:34 +00:00
Firestar99
a89fd93f81 compile_codegen: change default MetadataPrintout to None 2025-05-06 08:57:34 +00:00
Brice Videau
561d2eb733 Fix C string char type to use portable type c_char. 2024-12-22 02:30:30 +00:00
Eduard-Mihai Burtescu
0750b3059a examples/runners/wgpu: update wgpu to 23. 2024-12-18 20:09:36 +00:00
Eduard-Mihai Burtescu
332b38dbf1 examples/runners/{ash,wgpu}: update winit to 0.30 (but using deprecated APIs). 2024-12-18 20:09:36 +00:00
Eduard-Mihai Burtescu
f069c58c0c examples/runners/wgpu: avoid holding onto to multiple surfaces at the same time. 2024-12-18 15:34:21 +00:00
Eduard-Mihai Burtescu
e62b14ce4a Shrink dupe deps via deny.toml, updating ash example in the process. 2024-12-18 15:33:41 +00:00
Eduard-Mihai Burtescu
596512884a Update formatting for nightly-2024-10-12 (~1.83). 2024-12-18 10:46:51 +00:00
Eduard-Mihai Burtescu
3e56c3deda rustup: update to nightly-2024-07-20 (~1.81). 2024-12-18 10:46:51 +00:00
Eduard-Mihai Burtescu
5279b19a51 rustup: update to nightly-2024-06-08 (~1.80). 2024-12-18 10:46:51 +00:00
Firestar99
05e9439bd4 examples: fix ash searching shaders relative to cwd instead of its Cargo.toml 2024-11-18 22:38:25 +00:00
Rowan Jones
d2eb777510 Make timestamping dependent on support (#38) 2024-10-15 13:02:37 -04:00
Firestar99
ab3254a6da project: add optional bytemuck dependency to mark structs as Pod 2024-10-14 13:11:12 +02:00
Bruce Mitchener
529aaf4f3f Reduce typo count. (#18) 2024-09-26 07:04:55 +12:00
Eduard-Mihai Burtescu
a1b2eeb39d rustup: update to nightly-2024-04-24. 2024-09-21 08:20:05 -04:00
Eduard-Mihai Burtescu
cc752312c3 rustup: update to nightly-2024-03-01. 2024-09-21 08:20:05 -04:00
Eduard-Mihai Burtescu
d5a31c1fca examples/shaders/shared: remove unused feature(lang_items). 2024-09-21 08:20:05 -04:00
Christian Legnitto
4c633aec18 Fix cfg-check lint errors, update glam to 0.29, wgpu to 22.1 (#1157) (#9)
* bump glam to 0.29

* fix cargo deny

* upgrade wgpu

* fix cfg-check lints

Co-authored-by: Gray Olson <gray@grayolson.com>
2024-09-16 17:24:21 -04:00
Fredrik Fornwall
1a9c8b8ba1 Update the wgpu example runner to 0.19 2024-01-25 12:18:45 +02:00
Fredrik Fornwall
d0e374968a Update clap (replacing structopt) (#1114)
Fixes the remaining security warning at
https://github.com/EmbarkStudios/rust-gpu/security/dependabot
2024-01-10 23:49:34 +02:00
Fredrik Fornwall
738974aa17 Update wgpu and winit in the wgpu&ash example runners (#1112) 2024-01-03 10:12:48 +01:00
Fredrik Fornwall
ed697bc192 Rename bin/wgpu_runner.rs to main.rs (#1111)
* Rename bin/wgpu_runner.rs to main.rs

Fixes running `cargo run --bin example-runner-wgpu` as documented at
https://embarkstudios.github.io/rust-gpu/book/building-rust-gpu.html

* Add --lib to sample commands in android.nix
2024-01-02 14:20:01 +00:00
Eduard-Mihai Burtescu
4c6cf0d737 example-runner-ash: use NumPad +/- to control sky-shader's "sun intensity" through a specialization constant. 2023-07-21 12:27:17 +03:00
Eduard-Mihai Burtescu
55edc4e6b4 example-runner-wgpu: fix "offline" (wasm/Android) compilation. 2023-07-20 20:26:15 +03:00
Eduard-Mihai Burtescu
24f42f2b42 example-runner-wgpu: enable debugPrintf panic support via --force-spirv-passthru. 2023-07-20 20:26:15 +03:00
Eduard-Mihai Burtescu
9808cd0309 example-runner-wgpu: fix compute example. 2023-07-20 20:26:15 +03:00
Eduard-Mihai Burtescu
2ed23d0013 example-runner-wgpu: add --force-spirv-passthru for testing. 2023-07-20 20:26:15 +03:00
Eduard-Mihai Burtescu
4252427f89 Add debugPrintf-based panic reporting, controlled via spirv_builder::ShaderPanicStrategy. 2023-07-18 22:40:57 +03:00
Eduard-Mihai Burtescu
4a987f3eb0 Add rustfmt.toml with version = "Two" to enable formatting array patterns. 2023-06-03 10:46:57 +03:00
Eduard-Mihai Burtescu
174692bd8d Update wgpu to 0.16.0 and naga to 0.12.1. 2023-05-19 03:17:38 +03:00
Eduard-Mihai Burtescu
2db2fd6bcf Switch to wgpu 0.15.0 from crates.io. 2023-05-19 03:17:38 +03:00
Eduard-Mihai Burtescu
c4c736c127 example-runner-wgpu: bump android_logger to unbreak Android logging. 2023-04-17 10:35:05 +03:00
Eduard-Mihai Burtescu
9cd0b2759f example-runner-wgpu: transition from ndk-glue to android-activity. 2023-03-22 20:51:18 +02:00
Eduard-Mihai Burtescu
a9472a0743 Update wgpu (and ash, to avoid duplicate deps). 2023-03-22 20:51:18 +02:00
Eduard-Mihai Burtescu
d35fa4219b Update minifb dependency. 2023-03-21 10:57:08 +02:00
Sylvester Hesp
ae66c7cc1a Removed glam feature toggle altogether 2023-03-15 04:59:33 -07:00
Eduard-Mihai Burtescu
2ccdb4651d Apply clippy::uninlined_format_args suggestions for Rust 2021 (panic/assert). 2023-01-30 23:00:43 +02:00
Sylvester Hesp
33c2f80835 Clippy fixes 2023-01-05 14:50:13 +02:00
Sylvester Hesp
f0aace570b Linter fixes 2022-12-02 01:58:11 -08:00
Sylvester Hesp
6f325acec0 More linter fixes 2022-11-30 09:38:54 -08:00
Sylvester Hesp
25cb7bf7e4 Linter fix 2022-11-30 09:38:54 -08:00
Eduard-Mihai Burtescu
f78b23b926 examples/runner/cpu: switch to workspace inheritance. 2022-11-30 16:59:49 +02:00
Sylvester Hesp
5e7a0755c2 Also applied default-features=false to spirv-builder 2022-11-22 07:43:06 -08:00
Sylvester Hesp
e7df2feb27 Applied workspace inheritance 2022-11-22 07:43:06 -08:00
Eduard-Mihai Burtescu
69cb69d28f Replace const_{vec,mat}! usage in tests and examples. 2022-11-03 17:03:54 +02:00