Commit Graph

1262 Commits

Author SHA1 Message Date
Eduard-Mihai Burtescu
7d99248b29 spirt_passes/diagnostics: also recover zombie Spans from their own attrs. 2023-06-02 00:32:50 +03:00
Eduard-Mihai Burtescu
0557036fb1 Preserve all intra-function annotations in both specializer and inline. 2023-06-02 00:32:50 +03:00
Eduard-Mihai Burtescu
ecaefff584 entry: fix entry-point stub spans (to point to the actual fn name). 2023-06-02 00:32:50 +03:00
Eduard-Mihai Burtescu
344605fde8 custom_insts: make SetDebugSrcLoc have a range instead of just the starting location. 2023-06-02 00:32:50 +03:00
Eduard-Mihai Burtescu
c5dcd035b1 Add custom_insts for our own OpExtInsts, and use it for some debuginfo. 2023-06-02 00:32:50 +03:00
Eduard-Mihai Burtescu
69349b1b9d linker/dce: use FxIndexSet instead of FxHashSet for the "roots" set. 2023-06-02 00:32:50 +03:00
Eduard-Mihai Burtescu
0160d1dc75 linker/zombies: keep &Instruction for OpLine, instead of extracting operands. 2023-06-02 00:32:50 +03:00
Eduard-Mihai Burtescu
a42b7edbea Rename decorations to custom_decorations. 2023-06-02 00:32:50 +03:00
Eduard-Mihai Burtescu
a686676e44 Apply suggestions from code review 2023-05-30 10:38:51 +03:00
Joel Nises
51888c78a7 Update changelog with glam requirements 2023-05-30 10:38:51 +03:00
Joel Nises
5903b5af2d Use range for glam dependency 2023-05-30 10:38:51 +03:00
Joel Nises
2061f45d3e Update crates/spirv-std/Cargo.toml
Co-authored-by: Eduard-Mihai Burtescu <eddyb@lyken.rs>
2023-05-30 10:38:51 +03:00
Joel Nises
8a835e05d4 Update glam to 0.24 2023-05-30 10:38:51 +03:00
Eduard-Mihai Burtescu
42006190cd Update docs/src/writing-shader-crates.md 2023-05-30 08:02:46 +03:00
shelvacu
62a3f609c6 Book cleanup
Add the line to configure a crate as a dylib and update rust-toolchain file link
2023-05-30 08:02:46 +03:00
Eduard-Mihai Burtescu
7a44fa1e9c Apply suggestions from code review 2023-05-26 19:46:04 +03:00
Tendsin Mende
0db8e0a338 add decoration-id rewrite to inliner 2023-05-26 19:46:04 +03:00
Eduard-Mihai Burtescu
795f433fdd Add missing --no-infer-storage-classes docs to codegen-args.md. 2023-05-20 12:51:55 +03:00
Eduard-Mihai Burtescu
82cfeb59b2 spirv-std/macros: bump syn to a version that supports everything we use. 2023-05-19 15:19:57 +03:00
Eduard-Mihai Burtescu
bc40662167 ci: add custom lint for spirv-std building with -Z minimal-versions. 2023-05-19 15:19:57 +03:00
Eduard-Mihai Burtescu
791be4b5d7 ci: move custom lint from ci.yaml to lint.sh. 2023-05-19 15:19:57 +03:00
Eduard-Mihai Burtescu
98c1f3da6f ci: rename clippy.sh to lint.sh. 2023-05-19 15:19:57 +03:00
Eduard-Mihai Burtescu
2bac7c1bf0 Remove --no-spirt and the old structurizer. 2023-05-19 15:14:33 +03:00
Eduard-Mihai Burtescu
6589f07b6f linker/test: remove non-SPIR-T codepaths. 2023-05-19 15:14:33 +03:00
Eduard-Mihai Burtescu
9b3eee6b45 tests: remove .spirt file suffix and rename variation to default. 2023-05-19 15:14:33 +03:00
Eduard-Mihai Burtescu
34e58aa01f tests: rustfmt all the tests that had e.g. // only-spirt removed. 2023-05-19 15:14:33 +03:00
Eduard-Mihai Burtescu
6b49cb1d51 tests: remove not_spirt test variants. 2023-05-19 15:14:33 +03:00
Eduard-Mihai Burtescu
174692bd8d Update wgpu to 0.16.0 and naga to 0.12.1. 2023-05-19 03:17:38 +03:00
Eduard-Mihai Burtescu
2db2fd6bcf Switch to wgpu 0.15.0 from crates.io. 2023-05-19 03:17:38 +03:00
Sylvester Hesp
474b89d8b1 Removed myself als code owner 2023-05-09 23:58:51 +03:00
Johan Andersson
a64857af02 Faster Windows CI with 16 core runners
Attempted this back in #923 & 718aa89edf  but ran into some unknown issues with it. This attempts it again to see if GitHub has resolved the issues.
2023-04-24 21:37:40 +03:00
Johan Andersson
ad4732b899 Faster Mac CI with new XL builders
Use 12 core machines instead of 3 core.
2023-04-24 21:27:45 +03:00
dependabot[bot]
3d138ba605 build(deps): bump bumpalo from 3.8.0 to 3.12.1
Bumps [bumpalo](https://github.com/fitzgen/bumpalo) from 3.8.0 to 3.12.1.
- [Release notes](https://github.com/fitzgen/bumpalo/releases)
- [Changelog](https://github.com/fitzgen/bumpalo/blob/main/CHANGELOG.md)
- [Commits](https://github.com/fitzgen/bumpalo/commits)

---
updated-dependencies:
- dependency-name: bumpalo
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-24 21:17:55 +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
7e402553bc Use .rsplit_once("/src/") instead of .split_once("/src/"). 2023-04-21 22:03:38 +03:00
Eduard-Mihai Burtescu
f559a6b16e Integrate the SPIR-T qptr experiment. 2023-04-21 21:26:00 +03:00
Eduard-Mihai Burtescu
b5b651103d Actually generate an OpBitcast for illegal pointercasts. 2023-04-21 21:26:00 +03:00
Sylvester Hesp
51dec9f339 Removed debug output and silenced clippy warning 2023-04-21 18:42:28 +02:00
Sylvester Hesp
b7d741ee50 Changelog entry 2023-04-21 18:42:28 +02:00
Sylvester Hesp
2fd0182352 Added Grad support to SampleParams 2023-04-21 18:42:28 +02:00
Sylvester Hesp
4edad8817c Renamed image::sample to image::sample_with 2023-04-21 18:42:28 +02:00
Sylvester Hesp
43a267bbb8 Added all the other sampling functions. Also some fixes and cleanup 2023-04-21 18:42:28 +02:00
Sylvester Hesp
c298bf2c56 another compile fix 2023-04-21 18:42:28 +02:00
Sylvester Hesp
19051b7a11 compile fix 2023-04-21 18:42:28 +02:00
Sylvester Hesp
24f9137a6b moved permutations to complete ImageWithMethods trait impls 2023-04-21 18:42:28 +02:00
Sylvester Hesp
061727bba0 WIP SampleParams 2023-04-21 18:42:28 +02:00
Sylvester Hesp
fd73e1b462 Fixed Image::gather() not always returning a Vec4 2023-04-21 15:31:39 +02:00
Eduard-Mihai Burtescu
7b71878100 Update CHANGELOG. 2023-04-21 10:31:46 +03:00
Eduard-Mihai Burtescu
285eab4913 linker/specializer: fix some latent bugs that were hidden by zombies. 2023-04-21 10:31:46 +03:00