Commit Graph

436 Commits

Author SHA1 Message Date
Eduard-Mihai Burtescu
dcf37b75a7 Update to nightly-2022-09-25. 2022-11-04 17:22:42 +02:00
Eduard-Mihai Burtescu
08250e5ca1 builder: work around rust-lang/rust#101483 abusing implicit i1->i8 zext (from_immediate). 2022-11-04 17:22:42 +02:00
Sylvester Hesp
c7ca8df8b1 Update to nightly-2022-09-11 2022-11-04 17:22:42 +02:00
Sylvester Hesp
64b159257e Update to nightly-2022-09-10 2022-11-04 17:22:42 +02:00
Sylvester Hesp
bf887922c7 Update crates/spirv-std/Cargo.toml
Co-authored-by: Eduard-Mihai Burtescu <eddyb@lyken.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
Sylvester Hesp
a45fbc943e Update glam to 0.22 because of remove_attr 2022-11-03 17:03:54 +02:00
Sylvester Hesp
5190e2e7b1 Compile fixes 2022-11-03 17:03:54 +02:00
Sylvester Hesp
efac825739 Update to nightly 2022-09-06 2022-11-03 17:03:54 +02:00
Eduard-Mihai Burtescu
8efc4220ae spirv_std::ray_tracing: use actual OpTypeBool for -> bool intrinsics. 2022-10-28 17:28:50 +03:00
Jake Shadle
fc202cb3c5 Update spirv-tools 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
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
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
Eduard-Mihai Burtescu
6dc23afaf8 Avoid rebuilding rustc_codegen_spirv between example runners. 2022-10-13 17:01:52 +03:00
Sylvester Hesp
d90274af0b Check whether REQUIRED_RUST_TOOLCHAIN matches local rust-toolchain file 2022-09-27 13:07:47 +03:00
Sylvester Hesp
985007fc08
Version bump to 0.4.0-alpha.15 (#920) 2022-09-23 11:36:34 +02:00
Sylvester Hesp
f00f267160
Added toolchain check to rustc_codegen_spirv (#919)
* Added toolchain check to rustc_codegen_spirv

* Removed unused dependency

* Reworked the toolchain check

* Removed some debug code
2022-09-23 11:35:23 +02:00
Sylvester Hesp
2442d900a8 Fix for read_scalar().unwrap() panicking 2022-09-21 14:23:11 +03:00
Eduard-Mihai Burtescu
69fb9e3188 Keep PassMode by reference instead of value. 2022-09-21 14:23:11 +03:00
Sylvester Hesp
4d22af493f Compile fixes 2022-09-21 14:23:11 +03:00
Sylvester Hesp
a9a233eb80 Linter fix 2022-09-08 13:01:05 +03:00
Sylvester Hesp
2dd88c1f13 Compile fixes 2022-09-08 13:01:05 +03:00
Sylvester Hesp
f66030dad9 Compile fixes 2022-09-08 13:01:05 +03:00
Sylvester Hesp
b800a34b6b Compile fixes 2022-09-08 13:01:05 +03:00
Sylvester Hesp
fff9e0cec3 Fixed compile errors 2022-09-07 16:03:32 +03:00
Sylvester Hesp
0eb12ccf90 Compile fixes 2022-09-07 16:03:32 +03:00
Sylvester Hesp
ec6207e664 Fixed compile errors 2022-09-07 16:03:32 +03:00
Sylvester Hesp
7e83721978 Formatting 2022-08-30 13:47:08 +03:00
Sylvester Hesp
faf5c1321b Fixed compile error due to earlier linter fix 2022-08-30 13:47:08 +03:00
Sylvester Hesp
6237c65544 Linter fix 2022-08-30 13:47:08 +03:00
Sylvester Hesp
358a54a8f2 Alternative dead_code warning fix
Co-authored-by: Eduard-Mihai Burtescu <eddyb@lyken.rs>
2022-08-30 13:47:08 +03:00
Sylvester Hesp
ac160444ba Silenced dead code warning
Little unsure about this though, scary that it pops up all of a sudden while obviously being used by the functions below.
2022-08-30 13:47:08 +03:00
Sylvester Hesp
efe0f9becf Fixed compile error 2022-08-30 13:47:08 +03:00
Sylvester Hesp
30a682d633 Added stub for new method in IntrinsicCallMethods 2022-08-30 13:47:08 +03:00
Sylvester Hesp
e1aecffe67 Fixed compile errors 2022-08-30 13:47:08 +03:00
Sylvester Hesp
ccf01366b8 Updated OutRegister to reflect 'tcx lifetime usage 2022-08-29 16:54:38 +03:00
Sylvester Hesp
cb3289b132 Linter fix 2022-08-29 16:54:38 +03:00
Sylvester Hesp
7fd517a384 Compile fixes 2022-08-29 16:54:38 +03:00
Sylvester Hesp
7d8f02b380 Compile fixes 2022-08-29 16:54:38 +03:00
Sylvester Hesp
ccd2b12174 Fixed linter 2022-08-25 16:10:05 +03:00
Sylvester Hesp
37e5ce592d Compile fixes
Formatting fix
2022-08-25 16:10:05 +03:00
Sylvester Hesp
954edc9fb2 Compile fixes 2022-08-25 16:10:05 +03:00
Sylvester Hesp
a9209cd3bf Fixed formatting 2022-08-22 23:08:29 +03:00
Sylvester Hesp
86921a21ff Fixed compile errors 2022-08-22 23:08:29 +03:00
Sylvester Hesp
621cd48e5d Fixed linter 2022-08-22 23:08:29 +03:00
Sylvester Hesp
b3ff800246 Fixed compile errors 2022-08-22 23:08:29 +03:00
Sylvester Hesp
475f508eac Update to 2022-04-18 2022-08-17 20:54:04 +03:00
Eduard-Mihai Burtescu
a99fd432ad Avoid leaking file metadata (mtime/UID/GID) in rlibs through the ar crate. 2022-08-17 19:29:36 +03:00