Commit Graph

241 Commits

Author SHA1 Message Date
firestar99
081e2b5057 ash runner: remove ash-molten, require vulkan sdk on macos 2025-11-27 10:12:45 +00:00
firestar99
794c9054c2 ash runner: use bytemuck 2025-11-27 10:12:45 +00:00
firestar99
1c345c2cc3 ash runner: remove multimodule, simplify pipeline creation 2025-11-27 10:12:45 +00:00
Firestar99
703488181f difftest: force wgpu to use Vulkan, disable dx12
All checks were successful
Rust Toolchain Upgrade / check-and-upgrade (push) Has been skipped
naga fails to transpile our spirv to hlsl
2025-11-27 00:12:30 +00:00
firestar99
cb8df101b4 update glam: switch from #[repr(SIMD)] to #[rust_gpu::vector::v1] 2025-10-15 09:42:01 +00:00
firestar99
13d851d8d0 spirv-tools: update to 0.13.0 2025-10-11 10:58:29 +00:00
firestar99
28c269139c tool: move spirv_attr_version into a crate to allow publishing 2025-10-07 06:21:45 +00:00
firestar99
d1fce90567 example-runner-wgpu: replace custom PortableInstant with web-time crate 2025-09-17 10:39:29 +00:00
Eduard-Mihai Burtescu
7203a07c45 run-wasm helper (cargo-run-wasm) for testing the wgpu runner on the web. 2025-09-16 19:44:28 +00:00
Christian Legnitto
cb518bbb09 Update tracing-subscriber for RUSTSEC-2025-0055
All checks were successful
Rust Toolchain Upgrade / check-and-upgrade (push) Has been skipped
This reverts commit 85d0ea0022.

And fix for glam after `cargo update` in difftests
2025-09-07 13:37:49 -07:00
Christian Legnitto
85d0ea0022 Revert "Update tracing-subscriber for RUSTSEC-2025-0055"
This reverts commit b6172ae264.

The `cargo update` broke something that didn't break locally
2025-09-07 12:41:45 -07:00
Christian Legnitto
b6172ae264 Update tracing-subscriber for RUSTSEC-2025-0055
https://rustsec.org/advisories/RUSTSEC-2025-0055
2025-09-07 12:22:16 -07:00
firestar99
9046395915 cargo update spirv-tools 0.12.2
All checks were successful
Rust Toolchain Upgrade / check-and-upgrade (push) Has been skipped
2025-09-01 04:07:28 +00:00
firestar99
beab6cf6f2 downgrade bitflags to 1.X, our backend fails with 2.X 2025-07-28 10:10:08 +00:00
Nazar Mokrynskyi
8c85b916d5 Update most significant versions of direct dependencies 2025-07-28 10:10:08 +00:00
Firestar99
53c627bf7d add CargoCmd handling env vars centrally with reporting utilities 2025-07-22 14:14:47 +00:00
Firestar99
f622bacca1 spirv-tools: update to 0.12.1 2025-07-17 17:09:38 +00:00
Christian Legnitto
42c4af671e Ash variant of a difftest 2025-07-14 15:54:01 +00:00
Christian Legnitto
7807fd999a Add Skip and add a vulkano test to try to debug windows 2025-07-14 15:54:01 +00:00
Christian Legnitto
c44e29cc4c Switch to static DXC 2025-07-14 15:54:01 +00:00
Christian Legnitto
3a15c31f52 Fix cargo deny by turning off unused tabled features 2025-07-14 15:54:01 +00:00
Christian Legnitto
63f258ba3f Add epsilon support and improve difftest framework
- Add a round macro for cross-plat compat
- Add epsilon-based floating point comparison
- Add human-readable output for float/int data
- Add test coverage for new stuff
- Update documentation
2025-07-14 15:54:01 +00:00
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
f12c5a074d update spirv-tools 0.12.0 2025-06-22 12:48:23 +00:00
Firestar99
d416b65572 accept absolute target_dir_path and properly resolve relative ones with cargo_metadata 2025-06-04 15:15:45 +00:00
Firestar99
02fea9ced7 remove unused crate dependencies 2025-06-04 15:15:45 +00:00
Christian Legnitto
4e0da3fc0d Add differential testing harness
This runs wgsl shaders and rust shaders and compares the output.
If the output differs, the test fails. Differential testing is better
than snapshot testing or golden file testing as there are no reference
files to get outdated.
2025-06-04 15:15:45 +00:00
Firestar99
3dda1ae857 rename rustc_codegen_spirv_target_specs to rustc_codegen_spirv-target-specs 2025-05-29 09:36:11 +00:00
Firestar99
0b7ab4cf2b make rustc_codegen_spirv depend on rustc_codegen_spirv_target_specs for cargo gpu 2025-05-29 09:36:11 +00:00
Firestar99
950f065e60 move target specs to new rustc_codegen_spirv_target_specs crate 2025-05-29 09:36:11 +00:00
Firestar99
5d9750b322 upgrade compiletest 2025-05-26 13:50:50 +00:00
Firestar99
0d8970a36f compile_codegen: SpirvBuilder: only use target_spec json when compiler is new enough 2025-05-06 08:57:34 +00:00
Firestar99
ca5b6575b8 compile_codegen: add clap feature, make SpirvBuilder args the same as cargo gpu 2025-05-06 08:57:34 +00:00
Firestar99
3114d941fe compile_codegen: add serde derives 2025-05-06 08:57:34 +00:00
Firestar99
7b53ee341c compile_codegen: make SpirvBuilderError use thiserror 2025-05-06 08:57:34 +00:00
Firestar99
1e4e468ccf force libm <=0.2.11, as 0.2.12 has breaking changes 2025-04-26 16:51:03 +00:00
Christian Legnitto
6bbbfe460e Update spirv-tools 2025-04-23 21:43:54 +00:00
Firestar99
ee75bd79ac update glam 0.30 2025-04-18 11:43:04 +00:00
Firestar99
82071cd214 remove unused pipe dependency, fixes cargo deny 2025-04-10 16:02:51 +00:00
Christian Legnitto
d5754d0426 Add tracing to rustc_codegen_spirv
Fixes https://github.com/Rust-GPU/rust-gpu/issues/192
2025-01-21 10:50:02 -04: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
211b7fc3c6 rustc_codegen_spirv: update Cargo.toml phony deps for feature unification. 2024-12-18 15:33:41 +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
016122df03 rustup: update to nightly-2024-09-01 (~1.82). 2024-12-18 10:46:51 +00:00
Eduard-Mihai Burtescu
49ef5c3ed0 Use an auto-patched copy of rustc_codegen_ssa (dubbed pqp_cg_ssa). 2024-12-18 10:46:51 +00:00
Firestar99
c2502606bf syn 2.0, cargo update 2024-12-11 17:22:41 +00:00
VZout
d5d347b0fb lock file 2024-11-19 16:01:13 +00:00
Firestar99
2b471036f1 update rspirv 0.11 to 0.12, bulk adjustments 2024-11-07 16:12:06 +00:00
Eduard-Mihai Burtescu
5354c97b45 update spirt to 0.4.0 2024-10-18 09:27:41 -04:00