Commit Graph

219 Commits

Author SHA1 Message Date
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
Sylvester Hesp
0f9cd391ce Removed return type inference from Image API
Return types are now always `glam` vectors. This also means that `glam` is required. The "glam" feature toggle is made mandatory, we may want to support other specific vector libraries in the future.
2023-02-13 16:10:14 +02:00
Eduard-Mihai Burtescu
2ccdb4651d Apply clippy::uninlined_format_args suggestions for Rust 2021 (panic/assert). 2023-01-30 23:00:43 +02:00
Eduard-Mihai Burtescu
c2084b4568 Switch to Rust 2021. 2023-01-30 23:00:43 +02:00
Sylvester Hesp
33c2f80835 Clippy fixes 2023-01-05 14:50:13 +02:00
Sylvester Hesp
86d6042204 Update to nightly-2022-12-18
This nightly includes a clippy fix that we need (https://github.com/rust-lang/rust-clippy/pull/10055)
2023-01-05 14:50:13 +02:00
Sylvester Hesp
fbbe2f7d2d Formatting 2023-01-05 14:50:13 +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
Sylvester Hesp
0028a12b75 Blessed tests 2022-12-20 10:43:57 -08:00
Eduard-Mihai Burtescu
3fca36ecb2 tests: run both with and without --spirt. 2022-12-12 17:14:35 +02:00
Eduard-Mihai Burtescu
78130e1151 tests: clean up the structopt usage slightly. 2022-12-09 08:48:53 -08: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
7a170d3f78 linker/zombies: stop compilation after zombie errors. 2022-11-30 17:02:10 +02:00
Eduard-Mihai Burtescu
5836b83415 Remove fn/closure #[spirv(unroll_loops)] attribute. 2022-11-28 07:18:06 -08:00
Sylvester Hesp
e087a5267f Upgraded compiletest_rs to 0.9.0 2022-11-24 08:15:36 -08:00
Sylvester Hesp
5e7a0755c2 Also applied default-features=false to spirv-builder 2022-11-22 07:43:06 -08:00
Sylvester Hesp
e7df2feb27 Applied workspace inheritance 2022-11-22 07:43:06 -08:00
Sylvester Hesp
39850120ae Update to 0.4.0-alpha.17
* Specified exact versioning for crates within rust-gpu
* Fixed spirv-std referring to an older version of spirv-std-macros
2022-11-09 15:07:38 +01:00
Sylvester Hesp
c248806bf0 Updated versions to 0.4.0-alpha.16 2022-11-04 20:39:07 +02: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
932cd1d173 Update tests/ui/arch/any.rs
Co-authored-by: Eduard-Mihai Burtescu <eddyb@lyken.rs>
2022-11-03 17:03:54 +02:00
Sylvester Hesp
d61f486b9e Removed some bogus code in all.rs 2022-11-03 17:03:54 +02:00
Sylvester Hesp
83d6c0b9fe Removed rust-gpu support for Vector bool for glam 2022-11-03 17:03:54 +02:00
Eduard-Mihai Burtescu
53ad54add3 Fix new clippy warnings from the newer nightly. 2022-11-03 17:03:54 +02:00
Eduard-Mihai Burtescu
69cb69d28f Replace const_{vec,mat}! usage in tests and examples. 2022-11-03 17:03:54 +02:00
Sylvester Hesp
1053c72575 Blessed these const_mat2 errors
`const_mat2` is deprecated in `glam`. We need to fix the tests.
2022-11-03 17:03:54 +02:00
Sylvester Hesp
4b47b82e17 Blessed tests (line number changes) 2022-11-03 17:03:54 +02:00
Eduard-Mihai Burtescu
fbc20c240e tests: fix a couple mistakes that spirv-val now catches. 2022-10-28 17:28:50 +03: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
68ddddb8c4 Fixed bad imports 2022-10-19 14:12:11 +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
08117395b3
Pre-updated invalid-target.rs test (#929)
This PR adds the commented out use spirv_std::spirv; to invalid-target.rs in preparation for #926
2022-10-19 11:57:47 +03:00
Eduard-Mihai Burtescu
4b10bf5db1 Add codegen backend dylib back into depinfo (.d) post-rust-lang/rust#93969. 2022-10-14 16:50:36 +03:00
Sylvester Hesp
985007fc08
Version bump to 0.4.0-alpha.15 (#920) 2022-09-23 11:36:34 +02:00