Commit Graph

4 Commits

Author SHA1 Message Date
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
Ashley Hauck
340f4bb70a Error when int doesn't have spirv(flat) (#815) 2021-12-06 11:31:26 +01:00
Eduard-Mihai Burtescu
cf56b95dc1 Add #[track_caller] test. 2021-08-10 12:43:15 +03:00
XAMPPRocky
27eb1d1413 Refactor validation tests to use compiletest (#464)
* Refactor validation tests to use compiletest

* Update tests/ui/lang/core/ptr/allocate_const_scalar.rs
2021-03-18 17:16:21 +00:00