Eduard-Mihai Burtescu
76a1606617
Try to get CI to pass (Cargo 1.70.0 has a dep:
bug, cargo deny
found a yanked crate).
2023-07-15 01:03:08 +03:00
Eduard-Mihai Burtescu
a389a7993f
Remove mentions of 0.4
pre-releases and try making spirv-builder/README.md
more readable.
2023-07-15 01:03:08 +03:00
Eduard-Mihai Burtescu
26fcbc0b67
spirv-builder: try getting the docs.rs
doc build to succeed (by making rustc_codegen_spirv
optional).
2023-07-15 01:03:08 +03:00
Eduard-Mihai Burtescu
dbada91cb7
rustup: update to nightly-2023-05-27
.
2023-06-08 15:54:23 +03:00
Eduard-Mihai Burtescu
cfaabbab08
Bump version to 0.8.0
.
2023-06-02 18:55:33 +03:00
Eduard-Mihai Burtescu
c1b0b5de00
spirv-builder: also update forgotten badge.
2023-04-21 23:28:31 +03:00
Eduard-Mihai Burtescu
63899d3af6
Bump version to 0.7.0
.
2023-04-21 23:28:31 +03:00
Eduard-Mihai Burtescu
b560a21453
spirv-builder: force a single CGU (codegen-unit).
2023-04-17 14:23:51 +03:00
Eduard-Mihai Burtescu
cbe922dc7f
spirv-builder: clean up the Cargo args/env var setup order.
2023-04-17 14:23:51 +03:00
Sylvester Hesp
7771fe7187
Bumped version to 0.6.1
2023-03-20 07:51:11 -07:00
Sylvester Hesp
17a1249dee
Version update to 0.6.0
2023-03-15 03:35:03 -07:00
Sylvester Hesp
17ff16f645
Added SpirvBuilder API to set extra codegen arguments
2023-03-14 07:44:53 -07:00
Sylvester Hesp
547309a73c
Changed current version to 0.5.0
2023-02-03 03:34:51 +01:00
Eduard-Mihai Burtescu
2ccdb4651d
Apply clippy::uninlined_format_args
suggestions for Rust 2021 (panic/assert).
2023-01-30 23:00:43 +02:00
Sylvester Hesp
33c2f80835
Clippy fixes
2023-01-05 14:50:13 +02:00
Sylvester Hesp
4747d5b3cf
Update crates/spirv-builder/README.md
...
Co-authored-by: Eduard-Mihai Burtescu <eddyb@lyken.rs>
2022-12-20 10:43:57 -08:00
Sylvester Hesp
5819bbaff8
Update crates/spirv-builder/README.md
...
Co-authored-by: Eduard-Mihai Burtescu <eddyb@lyken.rs>
2022-12-20 10:43:57 -08:00
Sylvester Hesp
ecceedab92
Some tweaks to docs
2022-12-20 10:43:57 -08:00
Sylvester Hesp
8bf791d0c4
Included README.md files for published crates
2022-12-20 10:43:57 -08:00
Eduard-Mihai Burtescu
6a35586893
Set CARGO_CACHE_RUSTC_INFO=0
instead of removing .rustc_info.json
.
2022-12-20 06:11:43 +02:00
Eduard-Mihai Burtescu
6fb35ffeeb
outputs: ⋯.spv
→ ⋯.spv.json
, ⋯.spv.dir/⋯
→ ⋯.spvs/⋯.spv
(or ⋯.spv
).
2022-12-12 17:15:12 +02:00
Eduard-Mihai Burtescu
47d5577a93
spirv-builder: add RUSTGPU_RUSTFLAGS
/RUSTGPU_CODEGEN_ARGS
env vars.
2022-12-09 11:46:27 +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
Eduard-Mihai Burtescu
53ad54add3
Fix new clippy warnings from the newer nightly.
2022-11-03 17:03:54 +02: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
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
805297146b
Update to 0.4.0-alpha.14 ( #905 )
...
* Changed version of all unpublished crates to 0.0.0
* New version: v0.4.0-alpha.14
* Fixed versions in deny.toml
2022-08-12 12:38:45 +02:00
Sylvester Hesp
e1696a4cbd
Updated metadata for spirv-builder ( #903 )
2022-08-11 12:02:34 +00:00
Sylvester Hesp
fde567ed2d
Updated versions to 0.4.0-alpha.13 ( #899 )
...
* (cargo-release) version 0.4.0-alpha.13
* (cargo-release) version 0.4.0-alpha.13
* (cargo-release) version 0.4.0-alpha.13
* (cargo-release) version 0.4.0-alpha.13
* (cargo-release) version 0.4.0-alpha.13
* (cargo-release) version 0.4.0-alpha.13
* (cargo-release) version 0.4.0-alpha.13
* (cargo-release) version 0.4.0-alpha.13
* (cargo-release) version 0.4.0-alpha.13
* (cargo-release) version 0.4.0-alpha.13
* (cargo-release) version 0.4.0-alpha.13
* (cargo-release) version 0.4.0-alpha.13
* (cargo-release) version 0.4.0-alpha.13
* (cargo-release) version 0.4.0-alpha.13
* (cargo-release) version 0.4.0-alpha.13
* (cargo-release) version 0.4.0-alpha.13
* (cargo-release) version 0.4.0-alpha.13
* (cargo-release) version 0.4.0-alpha.13
* (cargo-release) version 0.4.0-alpha.13
* Updated versions in local dependencies as well
2022-08-11 12:34:07 +02:00
Sylvester Hesp
ef65808a5b
Added some version tags to some crates referencing rustc_codegen_spirv ( #894 )
...
Although not really necessary, this removes some errors `cargo-release` is giving.
2022-08-10 22:06:20 +02:00
Johan Andersson
132b960e83
Upgrade from our standard lints v4 -> v6 ( #861 )
2022-04-17 12:16:59 +02:00
Eduard-Mihai Burtescu
5ac500d5b9
Split out a new -types
crate so spirv-builder
stops loading LLVM via dylibs. ( #856 )
...
* Split out a new `-types` crate so `spirv-builder` stops loading LLVM via dylibs.
* example-wgpu-runner: halve `max_push_constant_size` so it works on RADV/Fiji.
2022-03-30 09:07:14 +02:00
Ashley Hauck
f780364317
rustup update ( #840 )
...
* rustup update
* asm->core::arch::asm
2022-01-13 17:27:33 +02:00
Ashley
d705a238a1
Add a preserve_bindings opt to the builder and codegen opts ( #830 )
2022-01-03 09:18:58 +01:00
Ashley Hauck
2ca5826e55
rustup update ( #816 )
...
* rustup update
* Test fixes
2021-12-06 11:31:43 +01:00
Ashley Hauck
3ae5c2b010
Remove CARGO_FEATURES_* and CARGO_CFG_* ( #782 )
2021-10-28 13:09:32 +02:00
Ashley Hauck
f58c6f20af
rustup update, and edition = 2021 ( #775 )
2021-10-26 10:24:44 +00:00
Eduard-Mihai Burtescu
6807c5973d
Re-add -Zsymbol-mangling-version=v0
.
2021-09-07 12:24:38 +03:00
Ashley Hauck
032286e217
Add a spirv-builder option to include all debug info ( #742 )
2021-09-01 06:05:43 +00:00
khyperia
df5b41137b
Cargo update
2021-08-12 17:16:07 +03:00
Ashley Hauck
44c9fdd8c5
Release v0.4.0-alpha.12 ( #719 )
2021-08-12 10:46:32 +00:00
Eduard-Mihai Burtescu
908499744f
spirv-builder: switch to \x1f
-separated CARGO_ENCODED_RUSTFLAGS
.
2021-08-10 16:53:28 +03:00
Ashley Hauck
12c09cbc5a
Remove implicit bindless and kernel modes ( #710 )
...
* Remove +bindless mode
* Remove +kernel mode
2021-08-10 08:23:24 +02:00
Ashley Hauck
819365cbae
Release v0.4.0-alpha.11 ( #702 )
2021-08-02 14:02:02 +00:00
Ashley Hauck
06f0aa2c3a
Release v0.4.0-alpha.10 ( #679 )
2021-06-23 09:32:09 +02:00