firestar99
82bed2df78
wgpu 29: remove push constant emulation, wgpu 29 does it for us
2026-04-15 14:04:48 +02:00
firestar99
3e2855ebd2
wgpu 29: cargo update
2026-04-15 14:04:48 +02:00
firestar99
7259360880
wgpu 29: update wgpu 27 -> 29
2026-04-15 14:04:48 +02:00
firestar99
8494942c0b
update to nightly-2026-04-11, rustc 1.96.0
Rust Toolchain Upgrade / check-and-upgrade (push) Has been skipped
2026-04-13 16:15:49 +00:00
Eduard-Mihai Burtescu
ab9ca5ed1a
Add --dump-spirt for dumping only the final SPIR-T module (unlike --dump-spirt-passes).
2026-04-13 07:25:37 +00:00
firestar99
003dde7b4c
update toolchain to nightly-2026-04-08
2026-04-12 23:39:42 +00:00
Eduard-Mihai Burtescu
a874c1b5cb
linker/inline: also run mem2reg on every fully-inlined function.
Rust Toolchain Upgrade / check-and-upgrade (push) Has been skipped
2026-04-11 15:05:00 +00:00
Eduard-Mihai Burtescu
a3cf6c2236
linker/inline: also run remove_duplicate_debuginfo on every fully-inlined function.
2026-04-11 15:05:00 +00:00
Eduard-Mihai Burtescu
a758d7e2b7
[2024] linker/mem2reg: apply rewrite rules only once per insert_phis_all invocation.
2026-04-11 15:05:00 +00:00
Eduard-Mihai Burtescu
1521645aa7
linker/inline: fix typos in comments.
2026-04-11 15:05:00 +00:00
Eduard-Mihai Burtescu
31a98d8d21
[2024] linker/inline: use OpPhi instead of OpVariable for return values.
2026-04-11 15:05:00 +00:00
Eduard-Mihai Burtescu
a0c135c6f8
[2024] linker/mem2reg: index SPIR-V blocks by their label IDs for O(1) lookup.
2026-04-11 15:05:00 +00:00
Eduard-Mihai Burtescu
f9d1746da1
[2024] linker/inline: use bottom-up inlining to minimize redundancy.
2026-04-11 15:05:00 +00:00
Eduard-Mihai Burtescu
c555d07b87
[2024] linker/inline: fix OpVariable debuginfo collection and insertion.
2026-04-11 15:05:00 +00:00
Eduard-Mihai Burtescu
51c9b9466b
Revert "linker/inline: fix OpVariable debuginfo collection and insertion."
...
This reverts commit 355122de8b .
2026-04-11 15:05:00 +00:00
Eduard-Mihai Burtescu
292746a49b
Revert "WIP: (TODO: finish bottom-up cleanups) bottom-up inlining"
...
This reverts commit 41ec7ea82b .
2026-04-11 15:05:00 +00:00
Eduard-Mihai Burtescu
56cfff7ef3
Revert "WIP: couple of inliner things that need to be disentangled"
...
This reverts commit ea20ef36a7 .
2026-04-11 15:05:00 +00:00
Eduard-Mihai Burtescu
8b7ac72202
Revert "WIP: mem2reg speedup"
...
This reverts commit efbf694ede .
2026-04-11 15:05:00 +00:00
Eduard-Mihai Burtescu
6d95c94a8b
Revert "linker/inline: use OpPhi instead of OpVariable for return values."
...
This reverts commit fcd1b1e750 .
2026-04-11 15:05:00 +00:00
firestar99
10e17d836b
ci: fix cargo-gpu-backwards-compat failure due to indexmap@2 crate update
Rust Toolchain Upgrade / check-and-upgrade (push) Has been skipped
2026-04-10 19:14:41 +00:00
firestar99
84f9ab916b
ci: delay cargo-gpu-backwards-compat to ensure long-running jobs go first
2026-04-09 10:30:03 +02:00
firestar99
3a155de596
ci: upgrade checkout@v6
2026-04-09 10:17:42 +02:00
firestar99
bc20450801
ci: install nextext as recommended, random ci failures on mac
2026-04-09 10:17:42 +02:00
firestar99
251061bdef
cargo-gpu merge: fix docs and clippy
2026-04-09 10:17:42 +02:00
firestar99
508ce146ae
cargo-gpu merge: fix cargo-deny
2026-04-09 10:17:42 +02:00
firestar99
651f6dbef9
cargo-gpu merge: upgrade cargo-gpu to edition 2024
2026-04-09 10:17:42 +02:00
firestar99
42fa16297d
cargo-gpu merge: merge in cargo-gpu ci
2026-04-09 10:17:42 +02:00
firestar99
602b6a516a
cargo-gpu merge: move cargo-gpu crates into root crates directory
2026-04-08 14:52:10 +02:00
firestar99
417b884210
Add 'cargo-gpu/' from commit 'e837b29efe63c98b08b7b25d0ac35ab28a2b5933'
...
git-subtree-dir: cargo-gpu
git-subtree-mainline: ddb039b9c9
git-subtree-split: e837b29efe
2026-04-08 14:46:35 +02:00
Christian Legnitto
ddb039b9c9
spirv-builder: fall back to hashed codegen dylibs
...
Rust Toolchain Upgrade / check-and-upgrade (push) Has been skipped
spirv-builder only looks for the exact
librustc_codegen_spirv.{so,dylib,dll} filename in the dylib search path.
That works in the rust-gpu workspace, but it misses external build.rs
consumers where Cargo only exposes hashed deps artifacts such as
librustc_codegen_spirv-<hash>.so. This showed up in a downstream
workspace update to current rust-gpu main where the consumer path only
had hashed backend artifacts available to default SpirvBuilder
discovery.
Keep preferring the exact filename when present, then fall back to the
newest hashed rustc_codegen_spirv dylib in the same search paths. Add
tests for exact matches, hashed fallback, and exact-over-hashed
precedence.
2026-04-02 22:28:00 +00:00
LegNeato
be4c9b7257
Upgrade Rust toolchain to nightly-2026-04-02
...
Updates:
- rust-toolchain.toml: nightly-2026-04-02
- commit hash: 7e46c5f6fb87f8cf4353e058479cef15d1d952b4
- REQUIRED_RUST_TOOLCHAIN in build.rs
2026-04-02 06:17:53 +00:00
Christian Legnitto
bc735676c4
compiletests: bless expected output for nightly-2026-04-01
Rust Toolchain Upgrade / check-and-upgrade (push) Has been skipped
2026-04-01 11:52:01 +00:00
Christian Legnitto
f012026b21
intrinsics: update renamed float intrinsic symbols
...
rustc renamed fabsf32/fabsf64/fabsf128 to a single unified `fabs`
symbol, and minnumf32/f64/f128 and maxnumf32/f64/f128 to
minimumf32/f64/f128 and maximumf32/f64/f128 respectively.
2026-04-01 11:52:01 +00:00
Christian Legnitto
f9bd67f014
Upgrade Rust toolchain to nightly-2026-04-01
...
Updates rust-toolchain.toml and REQUIRED_RUST_TOOLCHAIN in build.rs
to nightly-2026-04-01 (commit 48cc71ee88cd0f11217eced958b9930970da998b).
2026-04-01 11:52:01 +00:00
firestar99
e837b29efe
build_script: forward to spirv_builder
2026-03-30 12:30:05 +02:00
firestar99
cf002d4553
build_script: add Install.build_script to prevent stale shaders with local rust-gpu checkouts
2026-03-30 12:30:05 +02:00
firestar99
d673e3a1b1
cargo update
2026-03-30 12:30:05 +02:00
firestar99
52c6ae36f1
ci: add revs testing rustc 1.94.0 -Ztarget-spec-json requirement
2026-03-30 12:29:19 +02:00
firestar99
c0842d7d98
update rust-gpu to latest nightly of PR #545
...
https://github.com/Rust-GPU/rust-gpu/pull/545
2026-03-30 12:29:19 +02:00
firestar99
157bd76d64
ci: cancel PR actions on new commits
2026-03-30 12:29:19 +02:00
firestar99
4bbd1ab144
add cargo xtask rust-gpu-rev <rev> for easy rust-gpu updating
2026-03-30 12:29:19 +02:00
firestar99
45bf1245d2
add expect-test crate to update rust-gpu rev in tests with cargo xtask update-expect
2026-03-30 12:29:19 +02:00
Christian Legnitto
877bd8697a
compiletests: drop RuntimeArray const-bitcast misuse case
...
Rust Toolchain Upgrade / check-and-upgrade (push) Has been skipped
Remove the compile-fail test that casts constant data to `*const RuntimeArray<T>`. We do not want to support constructing `RuntimeArray` from Rust constant data.
2026-03-30 07:03:29 +00:00
Christian Legnitto
b50c2dd3ef
consts: stop reifying RuntimeArray constant data
...
Revert the `const_str` reshaping and the direct `RuntimeArray` constant-loading path in `read_from_const_alloc_at`. This restores the older behavior of treating `RuntimeArray` constants as unsupported instead of trying to materialize them from Rust constant data.
2026-03-30 07:03:29 +00:00
firestar99
51dc04842f
spirv-builder: make required extra arg -Zjson-target-spec backwards compatible
2026-03-30 07:03:29 +00:00
firestar99
e7c77794d7
std: remove unused features rustc warns about
2026-03-30 07:03:29 +00:00
Christian Legnitto
2716cc9243
consts: remove dead runtime-array const bitcast fallback
...
The generic unsized constant reader already handles `RuntimeArray` constants, including the trailing-bytes error case covered by the new compile-fail test. Keep `const_bitcast` on the direct `try_read_from_const_alloc` path instead of carrying a second fallback that no longer changes behavior.
2026-03-30 07:03:29 +00:00
Christian Legnitto
32b43cb025
compiletests: cover invalid runtime-array const bitcasts
...
Add a UI compile-fail test for casting a 3-byte constant allocation to `*const RuntimeArray<u16>`. This exercises the existing trailing-bytes diagnostic for unsupported unsized constants and guards the review concern that this shape must fail instead of silently lowering.
2026-03-30 07:03:29 +00:00
Christian Legnitto
bdf8bae42c
Remove duplicate PassMode::Direct check
...
This is handled above.
2026-03-30 07:03:29 +00:00
Christian Legnitto
7e6d5fc0e7
compiletests: normalize issue-1062 OpLine output
...
This disassembly test only cares about the rotate lowering pattern, not source
line tables. Strip OpLine records entirely so line-number drift across toolchains
does not require reblessing the test.
2026-03-30 07:03:29 +00:00