Commit Graph

68 Commits

Author SHA1 Message Date
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
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
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
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
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
11a2fe71b5 entry: apply NonWritable to read-only StorageBuffers. 2023-04-04 05:43:26 +03: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
Sylvester Hesp
d78c301799 Update to 2023-01-21 2023-02-16 12:32:11 +02:00
Sylvester Hesp
2cb10b2771 Update to nightly-2022-11-28 2023-01-05 14:50:13 +02:00
Sylvester Hesp
816c3409e2 Updated to nightly-2022-11-14 2023-01-05 14:50:13 +02:00
Eduard-Mihai Burtescu
3fca36ecb2 tests: run both with and without --spirt. 2022-12-12 17:14:35 +02:00
Sylvester Hesp
fb7e13cdeb Update to nightly-2022-10-29 2022-12-02 01:58:11 -08:00
Eduard-Mihai Burtescu
d000e9699b Use Spans to detect "system crate"s, for error deferral (zombie) purposes. 2022-12-01 17:24:48 +02:00
Sylvester Hesp
fc19ab58fb Update to nightly-2022-10-15 2022-11-30 09:38:54 -08:00
Eduard-Mihai Burtescu
5836b83415 Remove fn/closure #[spirv(unroll_loops)] attribute. 2022-11-28 07:18:06 -08:00
Eduard-Mihai Burtescu
27e3cfc328 Update to nightly-2022-10-01. 2022-11-04 17:22:42 +02:00
Eduard-Mihai Burtescu
dcf37b75a7 Update to nightly-2022-09-25. 2022-11-04 17:22:42 +02:00
Sylvester Hesp
4b47b82e17 Blessed tests (line number changes) 2022-11-03 17:03:54 +02:00
Eduard-Mihai Burtescu
65f892eb50 attr: fix #[spirv(flat)] checking to match the Vulkan spec. 2022-10-27 11:42:23 +03:00
Sylvester Hesp
c3a9b9fd3e
Migration from register_attr to register_tool (#926)
* Accept `#[rust_gpu::spirv()]` attributes rather than `#[spirv()]` in backend
* Implemented `#[spirv(..)]` proc macro attribute for all platforms that conditionally translates to `#[rust_gpu::spirv()]` based on platform
* Changed `SpirvBuilder` to always apply `register_tool(rust_gpu)` attribute to shader crates
* Updated docs
* Added changelog
2022-10-19 09:50:24 +00:00
Sylvester Hesp
9e2e66729d Blessed tests 2022-09-21 14:23:11 +03:00
Sylvester Hesp
3fceab26dd Blessed tests 2022-09-08 13:01:05 +03:00
Sylvester Hesp
2e810bd8c2 Blessed tests 2022-09-08 13:01:05 +03:00
Sylvester Hesp
a7c448988b Blessed tests 2022-09-08 13:01:05 +03:00
Sylvester Hesp
e9cdc7de51 Blessed tests 2022-09-07 16:03:32 +03:00
Sylvester Hesp
09b3a4cff4 Blessed tests 2022-09-07 16:03:32 +03:00
Sylvester Hesp
c068d49efc Blessed tests 2022-09-07 16:03:32 +03:00
Sylvester Hesp
869d0cf316 Blessed tests for slightly different output 2022-08-30 13:47:08 +03:00
Sylvester Hesp
26fd725941 Blessed tests 2022-08-29 16:54:38 +03:00
Sylvester Hesp
3d15799f14 Blessed tests because of changed line numbers 2022-08-25 16:10:05 +03:00
Sylvester Hesp
425e377f87 Blessed test 2022-08-25 16:10:05 +03:00
Sylvester Hesp
c8c5bd3c03 Blessed slightly changed ptr_copy test output 2022-08-22 23:08:29 +03:00
Sylvester Hesp
f41625d70a
Renamed spirv-types to spirv-std-types (#904) 2022-08-12 01:49:50 +00:00
Eduard-Mihai Burtescu
e08d0d6a48 rustup: update to nightly-2022-04-11. 2022-04-12 09:01:18 +03:00
Eduard-Mihai Burtescu
3e04f62ede rustup: update to nightly-2022-04-01. 2022-04-12 09:01:18 +03:00
Eduard-Mihai Burtescu
f0baf78ade rustup: update to nightly-2022-03-01. 2022-04-12 09:01:18 +03:00
Eduard-Mihai Burtescu
57eed8394e rustup: update to nightly-2022-02-01. 2022-04-12 09:01:18 +03:00
Ashley Hauck
f780364317
rustup update (#840)
* rustup update

* asm->core::arch::asm
2022-01-13 17:27:33 +02:00
Ashley Hauck
2ca5826e55
rustup update (#816)
* rustup update

* Test fixes
2021-12-06 11:31:43 +01:00
Ashley Hauck
340f4bb70a
Error when int doesn't have spirv(flat) (#815) 2021-12-06 11:31:26 +01:00
Eduard-Mihai Burtescu
b28716d5eb tests: get --target-env vulkan1.2 passing. 2021-11-04 11:54:26 +02:00
Ashley Hauck
1fbb2410b6
Fix tests (#773) 2021-10-25 09:10:29 +00:00
Ashley Hauck
3f22a897f3
Handle OpCopyMemory in mem2reg (#772)
* Handle OpCopyMemory in mem2reg

* Update tests
2021-10-25 11:01:53 +03:00