Skip to content

spirv-tools v2025.2 makes compiletest fail #276

Open
@Firestar99

Description

@Firestar99

Newer spirv-tools v2025.2 makes our compiletest fail:
cargo run -p compiletests --release --no-default-features --features "use-installed-tools" -- --target-env vulkan1.2

failures:
    [ui] ui/lang/consts/issue-1024.rs
    [ui] ui/lang/consts/nested-ref.rs
    [ui] ui/lang/consts/shallow-ref.rs
    [ui] ui/lang/control_flow/for_with_custom_range_iter.rs
    [ui] ui/lang/core/ops/range-contains.rs

All tests fail due to something similar to

error: error:0:0 - [VUID-StandaloneSpirv-None-10684] Invalid explicit layout decorations on type for operand '25[%_ptr_Private__arr_bool_uint_2]'
         %3 = OpVariable %_ptr_Private__arr_bool_uint_2 Private %27
  |
  = note: spirv-val failed
  = note: module `$TEST_BUILD_DIR/lang/consts/issue-1024.vulkan1.2`

System Info

  • rust-gpu master 77070b7
  • SPIR-V: SPIRV-Tools v2025.2 v2025.2.rc2-0-ga62abcb4

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions