Marijn Suijten
2094a71667
CI/android: Select wgpu example by package name instead of manifest path
...
Specifying a manifest path still allows `cargo` and `cargo-apk` to find the workspace a package belongs to. We've decided that properly implementing [package selection](https://doc.rust-lang.org/cargo/commands/cargo-build.html#package-selection ) between `cargo-apk` and `cargo-subcommand` would be [nontrivial](https://github.com/dvc94ch/cargo-subcommand/pull/23/files#diff-23af5356f6001cd3993cd3c801fb7716ea02d1e504081b9fb569332db6107e80R53-R57 ) and ended up requiring the package to be selected explicitly via `-p` for now.
2022-11-24 07:52:12 -08:00
Eduard-Mihai Burtescu
85cd9df55a
default.nix: add wayland
runtime deps.
2022-11-24 17:46:09 +02: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
Sylvester Hesp
c30a37fe11
Added rerun-if-env-changed to build script
2022-11-04 17:22:42 +02:00
Sylvester Hesp
4968760328
Lint fixes
2022-11-04 17:22:42 +02:00
Sylvester Hesp
a0e36690c5
Update CHANGELOG.md
2022-11-04 17:22:42 +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
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
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
c84cf1ca42
Update CHANGELOG.md
...
Co-authored-by: Eduard-Mihai Burtescu <eddyb@lyken.rs>
2022-11-03 17:03:54 +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
d61f486b9e
Removed some bogus code in all.rs
2022-11-03 17:03:54 +02:00
Sylvester Hesp
000bc7c79c
Update CHANGELOG.md
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
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
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