Commit Graph

1279 Commits

Author SHA1 Message Date
Gray Olson
7e54ed23a2 Correct README formatting 2024-09-11 16:18:54 +02:00
Gray Olson
0c94c1db3e Correct README formatting 2024-09-11 16:18:26 +02:00
Gray Olson
e9bb929675 Update README to point to community repo 2024-09-11 16:16:36 +02:00
Gray Olson
20f1d603e4
Fix cfg-check lint errors, update glam to 0.29, wgpu to 22.1 (#1157)
* bump glam to 0.29

* fix cargo deny

* upgrade wgpu

* fix cfg-check lints
2024-09-10 17:48:17 +02:00
Fredrik Fornwall
54f6978c25
Allow glam version 0.25 (#1115) 2024-02-26 12:53:40 +01:00
Eduard-Mihai Burtescu
9d8095177e
spirv-std: only enable glam&num-traits's libm features on SPIR-V targets. (#1122) 2024-02-26 12:23:24 +01:00
Fredrik Fornwall
8678d58d61
Remove compiletest workaround for the old cargo resolver (#1131) 2024-02-07 23:45:38 +02:00
Eduard-Mihai Burtescu
3689d11a3c Fix bit rotates (#1062) by using == 0 instead of != 0 for mask_is_zero. 2024-02-07 11:32:59 +02:00
Eduard-Mihai Burtescu
59d2d2a10e Add test for issue #1062 (bit rotates being completely broken). 2024-02-07 11:32:59 +02: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
Jake Shadle
3bd121ef25 Use single test job for branch protections 2024-02-05 20:01:47 +02:00
Fredrik Fornwall
1a9c8b8ba1 Update the wgpu example runner to 0.19 2024-01-25 12:18:45 +02:00
Christian Legnitto
f955221493
Add ignore and no_run to get cargo test to pass. (#1101)
* Add changelog entry and failing CI.

* Add ignore and no_run to get `cargo test` to pass.
2024-01-24 12:55:58 +01:00
Fredrik Fornwall
f003cc106d
Install required android platform in CI (#1120) 2024-01-24 12:37:05 +01: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
baab3f6392
Update the build badge in README (#1113) 2024-01-04 05:17:07 +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
83f8c72f04 rustup: update to nightly-2023-09-30. 2023-11-22 12:34:30 +02:00
Eduard-Mihai Burtescu
145a98dae4 Updated CHANGELOG. 2023-11-21 18:25:34 +02: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
Eduard-Mihai Burtescu
8858d5f7aa builder: aggressively pointercast/bitcast to paper over opaque pointers. 2023-11-21 18:25:34 +02:00
Eduard-Mihai Burtescu
acf85064d0 intrinsics: stub out compare_bytes (as zombie instead of fatal error). 2023-11-21 18:25:34 +02:00
Eduard-Mihai Burtescu
8637102791 Address new rustc/clippy lints. 2023-11-21 18:25:34 +02:00
Eduard-Mihai Burtescu
acaf74c060 Undo accidental subst->arg renames in builder/spirv_asm. 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
e87c324bfd Address/silence new clippy lints. 2023-08-01 13:04:50 +03: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
9002209a14 linker/test: avoid using std::env entirely. 2023-07-25 12:07:36 +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
2c2a3bc31c Improve custom debuginfo with aggressive deduplication. 2023-07-25 12:07:36 +03:00
Eduard-Mihai Burtescu
779951bc8d Fix off-by-one in column numbers in panic debugPrintf traces. 2023-07-25 12:07:36 +03:00
Eduard-Mihai Burtescu
88457ae249 custom_insts: group all debugPrintf-like inputs of Abort together. 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
b3670b2303 spirt_passes/reduce: fix long-standing bug involving chained replacements. 2023-07-25 12:07:36 +03:00
Eduard-Mihai Burtescu
7f508ba86c linker: use OutputFilenames::temp_path_ext for critical dumping, even without --dump-*. 2023-07-25 12:07:36 +03:00
Eduard-Mihai Burtescu
1abd1cf43b Show panic! messages via debugPrintf, even including some runtime arguments ({u,i,f}32 as {} or {:?}). 2023-07-21 21:13:49 +03:00
Eduard-Mihai Burtescu
a0347e28c0 Allow -C debuginfo=2, but require -Zinline-mir=off, for panic! format_args! removal. 2023-07-21 21:13:49 +03: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
af2a9ee445 Add specialization constants via #[spirv(spec_constant(id = 123))] x: u32 entry-point inputs. 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
34e1c90c32 Improve abort/panic messages to be more distinctive. 2023-07-20 20:26:15 +03:00
Eduard-Mihai Burtescu
883d5aaade Update CHANGELOG. 2023-07-20 20:26:15 +03:00
Eduard-Mihai Burtescu
70728c7cc1 spirv-builder: update ShaderPanicStrategy::DebugPrintfThenExit docs with newer information. 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