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
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
firestar99
51dc04842f
spirv-builder: make required extra arg -Zjson-target-spec backwards compatible
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
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
Christian Legnitto
59908c43b8
compiletests: update ptr_copy stderr for extra pointer-cast diagnostic
2026-03-30 07:03:29 +00:00
Christian Legnitto
ec0a345909
fix lint and spv1.3 stderr for panic/message updates
2026-03-30 07:03:29 +00:00
Christian Legnitto
863144fed9
compiletests: normalize relative spirv-std paths in stderr
2026-03-30 07:03:29 +00:00
Christian Legnitto
8ed1921f9b
codegen: decode panic_bounds_check debug-printf args
2026-03-30 07:03:29 +00:00
Christian Legnitto
3eeb8136a5
codegen: preserve panic_const messages in panic fast path
2026-03-30 07:03:29 +00:00
Christian Legnitto
20c005af97
codegen: harden panic message decoding for nightly call shapes
2026-03-30 07:03:29 +00:00
Christian Legnitto
ea73923fcb
compiletests: bless sampled image query_size_lod stderr
2026-03-30 07:03:29 +00:00
Christian Legnitto
00f2a511f6
Bless compiletest stderr for updated nightly diagnostics
2026-03-30 07:03:29 +00:00
Christian Legnitto
2964d6742a
Port backend internals and ABI plumbing to latest nightly
2026-03-30 07:03:29 +00:00
Christian Legnitto
c32833b246
Update compiletest baselines for new nightly diagnostics
...
Refresh expected stderr for debug_printf trait-path wording and unwrap_or line mapping changes.
2026-03-09 06:51:54 +00:00
firestar99
f932a2cd82
bless compiletests
2026-03-03 23:20:53 +00:00
firestar99
df16f4b8bb
bless compiletests
2026-03-02 23:44:12 +00:00
Deadbeef
8118c3eb70
Add workaround for MaybeUninit::uninit and bless tests
2026-02-27 17:06:12 +00:00
Nicholas Nethercote
53592fe744
Update to nightly-2025-08-04.
...
- `tcx.get_attrs_unchecked(...)` was replaced with
`tcx.get_all_attrs(...)`.
- `run_link` has been removed.
- `BuilderMethods::tail_call` was added. It's currently `todo!()`.
- Adjust expected test outputs for very minor error message formatting
changes.
- And update to glam 0.30.8.
2026-02-27 17:06:12 +00:00
Nicholas Nethercote
cbcec80de8
Update to nightly-2025-07-28.
...
- `run_fat_lto`, `optimize_fat`, and `autodiff` were merged into
`run_and_optimize_fat_lto`, and the parameters were changed.
- `run_thin_lto` parameters were changed.
- `codegen` parameters were changed.
- `LtoModuleCodegen` was removed.
- Minor error message changes:
- Some line number changes in rustc.
- Some error message wording tweaks.
The LTO changes occurred in rust-lang/rust PR 143388 and PR 144062.
2026-02-27 17:06:12 +00:00
firestar99
00f5d28f6b
asm fn_ptr: compiletest entry3 with generic fns
Rust Toolchain Upgrade / check-and-upgrade (push) Has been cancelled
2026-02-25 22:22:08 +00:00
firestar99
1645c2027b
asm fn_ptr: compiletest with compute shader copying a buffer
2026-02-25 22:22:08 +00:00
firestar99
4256235728
asm fn_ptr: fix buffer asm decl
...
see 034af05d7b/examples/shared-alloc/src/lib.rs (L35-L48)
2026-02-25 22:22:08 +00:00
firestar99
6f59c0fa47
asm fn_ptr: entry point tests, buffer access failing
2026-02-25 22:22:08 +00:00
firestar99
aa22a9446d
asm fn_ptr: allow passing fn_ptr into asm! blocks and calling function
2026-02-25 22:22:08 +00:00
firestar99
7584a01f6f
make image::fetch() implicitly declare lod 0
...
Rust Toolchain Upgrade / check-and-upgrade (push) Has been skipped
* glsl [`texelFetch(sampler, coordinate, lod)`](https://docs.gl/sl4/texelFetch ) takes the lod as an explicit parameter, so you can't emit a texel fetch in glsl without explicit lod
* naga doesn't understand texel fetch without explicit lod
2026-02-22 19:40:45 +00:00
Christian Legnitto
180a6b0f9d
Optimize num_traits::Float::powi to use GLSL.std.450 Pow
...
Fixes https://github.com/Rust-GPU/rust-gpu/issues/516 .
2026-02-18 14:08:41 +00:00
firestar99
ee146bf215
inline image intrinsics: add #[inline]
2026-02-04 19:58:44 +00:00
firestar99
ed204f4532
inline image intrinsics: compiletest for image writes with disasm
2026-02-04 19:58:44 +00:00
firestar99
083db3c9f3
build_script: replace enum MetadataPrintout with struct BuildScriptConfig for more flexibility
2026-02-03 10:44:26 +00:00
firestar99
fda0e4e081
compiletest to showcase generic entry points
2026-02-03 00:14:48 +00:00
firestar99
195335a6f2
allow zst entry params in input and output positions
2026-02-03 00:14:48 +00:00
Peyton Hammersley
55251d64b2
trailing_zeros: add tests for 64bit
2026-01-23 15:30:14 +00:00
Christian Legnitto
af29a38586
Add missing parent capabilities in test compile flags
...
Rust Toolchain Upgrade / check-and-upgrade (push) Has been cancelled
- emit_stream_vertex.rs: GeometryStreams requires Geometry capability
- end_stream_primitive.rs: GeometryStreams requires Geometry capability
- subgroup_builtins.rs: GroupNonUniformBallot requires GroupNonUniform
- nested-ref.rs: VariablePointers requires VariablePointersStorageBuffer
2026-01-22 13:38:27 +00:00
firestar99
08f98a7335
location assignment2: fix location assignment for shader types with arrayed input/outputs
Rust Toolchain Upgrade / check-and-upgrade (push) Has been cancelled
2026-01-13 15:29:34 +00:00
firestar99
043a887c59
location assignment2: compiletest showing wrong locations with mesh and geometry shaders
2026-01-13 15:29:34 +00:00
firestar99
bc32a2a507
location assignment2: move compiletest to their own dir
2026-01-13 15:29:34 +00:00
Christian Legnitto
9906eada13
Check for the type of LocalInvocationIndex
...
This should be checked by spirv-opt but it is not catching it.
Even if they fix the issue, it doesn't hurt to double check as this
will never change.
2026-01-09 10:22:21 +00:00
Christian Legnitto
87051b634b
Fix incorrect LocalInvocationIndex type in tests
...
LocalInvocationIndex is a scalar u32 builtin, not a UVec3 vector:
https://docs.vulkan.org/refpages/latest/refpages/source/LocalInvocationIndex.html
The tests incorrectly used UVec3 which was not caught by spirv-val.
2026-01-09 10:22:21 +00:00
firestar99
6a94479270
target-spec: accept both targets and target envs as valid targets
2025-12-25 11:21:06 +00:00
firestar99
61387ba412
target-spec compiletest: copy dylib loading from spirv-builder
2025-12-25 11:21:06 +00:00
firestar99
dbac579277
target-spec compiletest: adjust to new target spec
2025-12-25 11:21:06 +00:00
firestar99
c40c38c102
target-spec: add SpirvTarget type
2025-12-25 11:21:06 +00:00
firestar99
358808d9cd
target-spec: generate target specs on the fly in spirv-builder
2025-12-25 11:21:06 +00:00
firestar99
795fb42355
target-spec: remove crate rustc_codegen_spirv-target-specs
2025-12-25 11:21:06 +00:00
firestar99
e8cb6a23ff
wgpu 27: update difftests
2025-12-23 23:56:59 +00:00
firestar99
9313f9b447
wgpu 27: cargo update
2025-12-23 23:56:59 +00:00
firestar99
b2b171663d
wgpu 27: update deps
2025-12-23 23:56:59 +00:00
firestar99
bed8784a5f
location assignment: bless other compiletests
2025-12-23 10:57:23 +00:00
firestar99
705104ae24
location assignment: proper location layout algorithm, as required by spec
...
https://registry.khronos.org/vulkan/specs/latest/html/vkspec.html#interfaces-iointerfaces-locations
2025-12-23 10:57:23 +00:00