Commit Graph

256 Commits

Author SHA1 Message Date
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
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
Eduard-Mihai Burtescu
83f8c72f04 rustup: update to nightly-2023-09-30. 2023-11-22 12:34:30 +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
8637102791 Address new rustc/clippy lints. 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
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
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
ce8c3f8f4c Lower aborts (incl. panics) to "return from entry-point", instead of infinite loops. 2023-07-07 08:33:39 +03:00
Eduard-Mihai Burtescu
dbada91cb7 rustup: update to nightly-2023-05-27. 2023-06-08 15:54:23 +03:00
Eduard-Mihai Burtescu
188aba26fc Remove some now-obsolete #[rustfmt::skip] workarounds for rustfmt bugs. 2023-06-03 10:46: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
e9cdb9666b rustup: update to nightly-2023-04-15. 2023-06-02 11:46:02 +03:00
Eduard-Mihai Burtescu
ecaefff584 entry: fix entry-point stub spans (to point to the actual fn name). 2023-06-02 00:32:50 +03:00
Eduard-Mihai Burtescu
344605fde8 custom_insts: make SetDebugSrcLoc have a range instead of just the starting location. 2023-06-02 00:32:50 +03:00
Eduard-Mihai Burtescu
69349b1b9d linker/dce: use FxIndexSet instead of FxHashSet for the "roots" set. 2023-06-02 00:32:50 +03:00
Eduard-Mihai Burtescu
9b3eee6b45 tests: remove .spirt file suffix and rename variation to default. 2023-05-19 15:14:33 +03:00
Eduard-Mihai Burtescu
34e58aa01f tests: rustfmt all the tests that had e.g. // only-spirt removed. 2023-05-19 15:14:33 +03:00
Eduard-Mihai Burtescu
6b49cb1d51 tests: remove not_spirt test variants. 2023-05-19 15:14:33 +03:00
Eduard-Mihai Burtescu
b5b651103d Actually generate an OpBitcast for illegal pointercasts. 2023-04-21 21:26:00 +03:00
Sylvester Hesp
2fd0182352 Added Grad support to SampleParams 2023-04-21 18:42:28 +02:00
Sylvester Hesp
4edad8817c Renamed image::sample to image::sample_with 2023-04-21 18:42:28 +02:00
Sylvester Hesp
43a267bbb8 Added all the other sampling functions. Also some fixes and cleanup 2023-04-21 18:42:28 +02:00
Eduard-Mihai Burtescu
dcd2c74054 Replace "system crate" vs "user code" distinction with zombies everywhere. 2023-04-21 10:31:46 +03:00
Eduard-Mihai Burtescu
633dff18bd linker/zombies: report all reachable zombies, w/ OpLine-based stack traces. 2023-04-21 10:31:46 +03:00
Eduard-Mihai Burtescu
3bbfaf5221 tests: add two broken tests to track their error message progression. 2023-04-21 10:31:46 +03:00
Eduard-Mihai Burtescu
b3067494e8 decorations: limit zombie SerializedSpans to an OpLine equivalent. 2023-04-21 10:31:46 +03:00
Eduard-Mihai Burtescu
3fb4f9176a Emit OpSource for every source file referenced via OpLine. 2023-04-21 10:31:46 +03:00
Sylvester Hesp
afbab4aee4 Clippy fixes 2023-04-13 10:25:52 +03:00
Sylvester Hesp
31ff096d24 Added generic parameter for number of components to Image 2023-04-13 10:25:52 +03:00
Eduard-Mihai Burtescu
ff53483822 tests/ui: re-bless spirt/not_spirt split tests, after rebasing on main. 2023-04-05 14:27:08 +03:00
Eduard-Mihai Burtescu
016363a2eb tests/ui: fix "invalid character in crate name" w/ explicit #![crate_name].
For the state of this commit on top of 3fca36ec, before rebasing, see this gist:
https://gist.github.com/eddyb/50c055df2e10756a2704277619e36857
2023-04-05 14:27:08 +03:00
Eduard-Mihai Burtescu
7b7015e8c6 builder: use undef bool instead of false, for checked_binop's zombie. 2023-04-05 14:21:56 +03:00
Eduard-Mihai Burtescu
1370631303 linker/inline: require legal ("memory object") pointer args in should_inline. 2023-04-04 12:16:05 +03:00
Eduard-Mihai Burtescu
11a2fe71b5 entry: apply NonWritable to read-only StorageBuffers. 2023-04-04 05:43:26 +03:00
Eduard-Mihai Burtescu
939f00e89e entry: "infer" -> "deduce", anonymous pair -> dedicated struct. 2023-04-04 05:43:26 +03:00
Eduard-Mihai Burtescu
5fffc752a0 entry: disallow explicit/interior mutability for read-only storage classes. 2023-04-04 03:50:50 +03:00
Sylvester Hesp
9f64b7c33e Update tests/ui/lang/issue-836.rs
Co-authored-by: Eduard-Mihai Burtescu <eddyb@lyken.rs>
2023-03-27 01:23:07 -07:00
Sylvester Hesp
86f0cc994f Upgrade to nightly-03-04 2023-03-27 01:23:07 -07:00
Sylvester Hesp
1ca358b9f6 Upgrade to nightly-2023-02-15 2023-03-27 01:23:07 -07:00
Eduard-Mihai Burtescu
34dffa0ea7 inline asm!: ban OpReturn/OpReturnValue (they're always UB). 2023-03-18 02:07:02 +02:00
Eduard-Mihai Burtescu
beecb48e39 spirv-std: add #[repr(C)] (and extra comments) to opaque handle types. 2023-03-18 02:07:02 +02:00
Sylvester Hesp
3b42427834 blessed tests 2023-03-15 04:59:33 -07:00
Sylvester Hesp
ae66c7cc1a Removed glam feature toggle altogether 2023-03-15 04:59:33 -07:00
Sylvester Hesp
dd79d4da88 Fixed codegen args passing for spirt and non-spirt tests 2023-03-15 02:02:17 -07:00
Sylvester Hesp
d78c301799 Update to 2023-01-21 2023-02-16 12:32:11 +02:00
Sylvester Hesp
56ef15c2b5 Blessed tests 2023-02-13 16:10:14 +02:00