Commit Graph

217 Commits

Author SHA1 Message Date
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
Firestar99
ab3254a6da project: add optional bytemuck dependency to mark structs as Pod 2024-10-14 13:11:12 +02:00
Firestar99
eea8998df9 cargo update 2024-09-21 08:20:05 -04:00
Eduard-Mihai Burtescu
775b5d5fa4 spirv-builder: pass JSON files to --target instead of relying on the backend's target_override. 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
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
Jake Shadle
e96418f9fa Update spirv-tools (#1127)
* Update to spirv-tools 0.10.0

* Use pre-built binaries from spirv-tools-rs

* Oops

* Target != host for android

* Use non-ancient ubuntu

* Oh right

* Update expected output

* Address feedback

* Oops

* Cancel actions when new commits are pushed

* Update CHANGELOG

* Fixup
2024-02-07 07:46:23 +00: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
Eduard-Mihai Burtescu
ead056a6f3 Appease cargo deny. 2023-11-21 18:25:34 +02:00
Eduard-Mihai Burtescu
9d9e7c9eb4 rustc_codegen_spirv/test: unbreak after termcolor-related changes. 2023-11-21 18:25:34 +02:00
Christian Legnitto
9b587c1712 Update to nightly-2023-08-29 2023-11-21 18:25:34 +02:00
Eduard-Mihai Burtescu
50ebb52619 rustup: update to nightly-2023-07-08. 2023-08-01 13:04:50 +03:00
Eduard-Mihai Burtescu
c2f98b612a Bump version to 0.9.0. 2023-07-25 12:52:29 +03:00
Eduard-Mihai Burtescu
a48588b11b Update spirt for better OpExtInst support (https://github.com/EmbarkStudios/spirt/pull/45). 2023-07-25 12:07:36 +03:00
Eduard-Mihai Burtescu
4c7c97f2ac Update spirt to include pretty-printing fixes (https://github.com/EmbarkStudios/spirt/pull/43). 2023-07-25 12:07:36 +03:00
Eduard-Mihai Burtescu
603f9894d6 Update spirt for DataInstForm interning. 2023-07-25 12:07:36 +03:00
Eduard-Mihai Burtescu
76a1606617 Try to get CI to pass (Cargo 1.70.0 has a dep: bug, cargo deny found a yanked crate). 2023-07-15 01:03:08 +03:00
Eduard-Mihai Burtescu
cfaabbab08 Bump version to 0.8.0. 2023-06-02 18:55:33 +03:00
Joel Nises
5903b5af2d Use range for glam dependency 2023-05-30 10:38:51 +03:00
Joel Nises
8a835e05d4 Update glam to 0.24 2023-05-30 10:38:51 +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
dependabot[bot]
3d138ba605 build(deps): bump bumpalo from 3.8.0 to 3.12.1
Bumps [bumpalo](https://github.com/fitzgen/bumpalo) from 3.8.0 to 3.12.1.
- [Release notes](https://github.com/fitzgen/bumpalo/releases)
- [Changelog](https://github.com/fitzgen/bumpalo/blob/main/CHANGELOG.md)
- [Commits](https://github.com/fitzgen/bumpalo/commits)

---
updated-dependencies:
- dependency-name: bumpalo
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-24 21:17:55 +03:00