Eduard-Mihai Burtescu
2a77f6ee86
Apply Rust 2021 clippy fixes.
2023-02-01 11:08:36 +02:00
Eduard-Mihai Burtescu
402afd7403
Add CHANGELOG
entry for --spirt-passes=...
.
2023-02-01 11:08:36 +02:00
Eduard-Mihai Burtescu
8bde624b74
spirt-passes: add fuse_selects
pass for merging same-condition if
-else
s.
2023-02-01 11:08:36 +02:00
Eduard-Mihai Burtescu
27c698b302
spirt-passes: add reduce
pass for replacing ops with their inputs/constants.
2023-02-01 11:08:36 +02:00
Eduard-Mihai Burtescu
6ed51e87b2
linker: add --spirt-passes
codegen args and underlying abstraction.
2023-02-01 11:08:36 +02:00
Eduard-Mihai Burtescu
2ccdb4651d
Apply clippy::uninlined_format_args
suggestions for Rust 2021 (panic/assert).
2023-01-30 23:00:43 +02:00
Eduard-Mihai Burtescu
c2084b4568
Switch to Rust 2021.
2023-01-30 23:00:43 +02:00
Eduard-Mihai Burtescu
335a637973
Support all panic entry-points equally - mainly for Rust 2021's panic!("...")
.
2023-01-30 23:00:43 +02:00
Sylvester Hesp
ebc143b240
Added nightly update to changelog
2023-01-09 12:08:43 +02:00
Sylvester Hesp
bab728f205
Formatting fixes
2023-01-05 14:50:13 +02:00
Sylvester Hesp
33c2f80835
Clippy fixes
2023-01-05 14:50:13 +02:00
Sylvester Hesp
86d6042204
Update to nightly-2022-12-18
...
This nightly includes a clippy fix that we need (https://github.com/rust-lang/rust-clippy/pull/10055 )
2023-01-05 14:50:13 +02:00
Sylvester Hesp
87dc07c623
More clippy fixes
2023-01-05 14:50:13 +02:00
Sylvester Hesp
fbbe2f7d2d
Formatting
2023-01-05 14:50:13 +02:00
Sylvester Hesp
54587b1816
Update to nightly-2022-12-10
2023-01-05 14:50:13 +02:00
Sylvester Hesp
2cb10b2771
Update to nightly-2022-11-28
2023-01-05 14:50:13 +02:00
Sylvester Hesp
816c3409e2
Updated to nightly-2022-11-14
2023-01-05 14:50:13 +02:00
Boris-Chengbiao Zhou
4a217f21d6
Update docs for manual shader crate building
...
Add some additional flags based on crates/spirv-builder/src/lib.rs which
weren't updated here yet. (causing compilation errors)
Also update the wording so it doesn't seem like the user is supposed to
call `cargo -Zbuild-std`.
2023-01-03 15:30:36 +01:00
Sylvester Hesp
4eb14fc218
Fixed rust-toolchain error message
2023-01-03 16:02:24 +02:00
Sylvester Hesp
8fcb61e82a
Updated versions to 0.4.0
2022-12-21 16:25:51 +01:00
Sylvester Hesp
a4abcce554
Trying to fix doc build
2022-12-21 12:16:49 +01:00
Sylvester Hesp
d2d6ee2f75
Updated docs
2022-12-20 10:44:31 -08:00
Sylvester Hesp
6b1bf8f689
Update docs/src/publishing-rust-gpu.md
...
Co-authored-by: Eduard-Mihai Burtescu <eddyb@lyken.rs>
2022-12-20 10:44:31 -08:00
Sylvester Hesp
a2fe52b904
Update docs/src/writing-shader-crates.md
...
Co-authored-by: Eduard-Mihai Burtescu <eddyb@lyken.rs>
2022-12-20 10:44:31 -08:00
Sylvester Hesp
9199a89ea4
Updated docs
2022-12-20 10:44:31 -08:00
Sylvester Hesp
6cb0c06ab7
Refer to specific commits rather than main branch in README.md
2022-12-20 10:43:57 -08: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
f910bc1e19
doc fix
2022-12-20 10:43:57 -08:00
Sylvester Hesp
70c5358419
Updated docs
2022-12-20 10:43:57 -08:00
Sylvester Hesp
b3e5c73c8d
Update crates/spirv-std/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
0028a12b75
Blessed tests
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
985cce77da
Use spirt 0.1.0
from crates.io
2022-12-19 15:48:54 +02:00
Sylvester Hesp
fabcbd9c78
Included 'initial release' for 0.1.0
at the end of the changelog
2022-12-13 16:37:15 +02:00
Sylvester Hesp
b0851644ad
Added 0.2.0
changes from release notes to changelog.md
2022-12-13 16:37:15 +02:00
Sylvester Hesp
df68c036e1
Added 0.3.0
changes from release notes to changelog.md
2022-12-13 16:37:15 +02:00
Eduard-Mihai Burtescu
85e4df3136
Include identifying information (e.g. crate names) in --dump-*
filenames.
2022-12-13 06:18:03 +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
3fca36ecb2
tests: run both with and without --spirt
.
2022-12-12 17:14:35 +02:00
Eduard-Mihai Burtescu
8535bb3bf1
Minimally integrate SPIR-T (opt-in via RUSTGPU_CODEGEN_ARGS=--spirt
).
2022-12-12 17:14:35 +02:00
Eduard-Mihai Burtescu
78130e1151
tests: clean up the structopt usage slightly.
2022-12-09 08:48:53 -08:00
Eduard-Mihai Burtescu
d9d9bd2936
Retroactively filled in CHANGELOG.md entries for all releases after 0.3.0.
2022-12-09 18:47:37 +02:00
Eduard-Mihai Burtescu
e5740d4fae
Migrate CHANGELOG.md to a more "Embark-standard" style (w/ PR links).
2022-12-09 18:47:37 +02:00
Eduard-Mihai Burtescu
32db2b4c3f
linker/test: enable DCE (adding new Export
s where necessary).
2022-12-09 12:53:05 +02:00
Eduard-Mihai Burtescu
12172b3f17
linker/test: keep Export
s around, even after import->export resolution.
2022-12-09 12:53:05 +02:00
Eduard-Mihai Burtescu
00bb9be12d
linker/test: add in the missing (mandatory) OpMemoryModel
instructions.
2022-12-09 12:53:05 +02:00
Eduard-Mihai Burtescu
0274eb9500
linker/test: "desugar" deprecated "decoration groups" (not supported by SPIR-T).
2022-12-09 12:53:05 +02:00