Commit Graph

985 Commits

Author SHA1 Message Date
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
fbc20c240e tests: fix a couple mistakes that spirv-val now catches. 2022-10-28 17:28:50 +03:00
Eduard-Mihai Burtescu
8efc4220ae spirv_std::ray_tracing: use actual OpTypeBool for -> bool intrinsics. 2022-10-28 17:28:50 +03:00
Eduard-Mihai Burtescu
e206122a36 ci: further update spirv-tools to 20221024 (for better errors). 2022-10-28 17:28:50 +03:00
Jake Shadle
fb5893a583 Fix linux download 2022-10-28 17:28:50 +03:00
Jake Shadle
9d1f87825d Update spirv-tools installs to latest-ish 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
097ba40bed Fixed some errors in documentation 2022-10-19 17:36:43 +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
Eduard-Mihai Burtescu
6dc23afaf8 Avoid rebuilding rustc_codegen_spirv between example runners. 2022-10-13 17:01:52 +03:00
Eduard-Mihai Burtescu
90db8e22d5 example-runner-ash: make sure spirv-builder uses a dedicated target dir. 2022-10-13 17:01:52 +03:00
Johan Andersson
35df2de639
Optimise CI with faster Linux machines (#923)
* Optimise CI with faster machines

Build on 16 vCPU machine instead of the default 4 vCPU, using GitHub Action's beta of GitHub-hosted larger runner.

* Use Windows runner

* Remove windows custom runner
2022-10-01 03:11:00 +02:00
Eduard-Mihai Burtescu
5c8e65279f mouse-shader: remove sharp cutoff in drag distortion. 2022-09-28 17:36:33 +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
9e2e66729d Blessed tests 2022-09-21 14:23:11 +03: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
5c537e9e4c Update to nightly-2022-08-29 2022-09-21 14:23:11 +03:00
Sylvester Hesp
a9a233eb80 Linter fix 2022-09-08 13:01:05 +03:00
Sylvester Hesp
14bbae1e4b Update to nightly-2022-08-22 2022-09-08 13:01:05 +03:00
Sylvester Hesp
3fceab26dd Blessed tests 2022-09-08 13:01:05 +03:00
Sylvester Hesp
2dd88c1f13 Compile fixes 2022-09-08 13:01:05 +03:00
Sylvester Hesp
a90668e02e Update to nightly-2022-08-15 2022-09-08 13:01:05 +03:00
Sylvester Hesp
2e810bd8c2 Blessed tests 2022-09-08 13:01:05 +03:00
Sylvester Hesp
f66030dad9 Compile fixes 2022-09-08 13:01:05 +03:00
Sylvester Hesp
5619408844 Update to nightly-2022-08-08 2022-09-08 13:01:05 +03:00
Sylvester Hesp
a7c448988b Blessed tests 2022-09-08 13:01:05 +03:00
Sylvester Hesp
b800a34b6b Compile fixes 2022-09-08 13:01:05 +03:00
Sylvester Hesp
bbc97e7e18 Update to nightly-2022-08-01 2022-09-08 13:01:05 +03:00
Sylvester Hesp
e9cdc7de51 Blessed tests 2022-09-07 16:03:32 +03:00
Sylvester Hesp
fff9e0cec3 Fixed compile errors 2022-09-07 16:03:32 +03:00
Sylvester Hesp
0b700b9485 Update to nightly-2022-07-25 2022-09-07 16:03:32 +03:00
Sylvester Hesp
09b3a4cff4 Blessed tests 2022-09-07 16:03:32 +03:00
Sylvester Hesp
0eb12ccf90 Compile fixes 2022-09-07 16:03:32 +03:00
Sylvester Hesp
45d38ca2d7 Update to nightly 2022-07-18 2022-09-07 16:03:32 +03:00
Sylvester Hesp
c068d49efc Blessed tests 2022-09-07 16:03:32 +03:00
Sylvester Hesp
ec6207e664 Fixed compile errors 2022-09-07 16:03:32 +03:00
Sylvester Hesp
4701143416 Update to nightly-2022-07-11 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