Skip to content

Conversation

@Firestar99
Copy link
Member

@Firestar99 Firestar99 commented Jun 4, 2025

Requires #279, Rust-GPU/spirv-tools-rs#11

I thought it'll be easy going, but it seems like spv1.6 introduced some new validation we're now failing. Nope, just some tests excluded for vulkan that need their target list extended.

@Firestar99
Copy link
Member Author

Firestar99 commented Jun 10, 2025

Compiletest fails due to the installed tools being too old and not knowing what vulkan1.4 is.

Current CI downloads a pre-build version of spirv tools from Embark's spirv-tools repo, specifically release 0.10.0, which includes some pre-build *.tar.zstd blobs. Supposedly I could just trigger the "Precompile spirv-tools binaries" Action but that one has been broken likely by basel updating something. @LegNeato tried fixing it on master, but no luck so far.

Some Options we have to fix this:

  1. fixup bazal build and publish a new set of pre-builds
  2. grab the binaries from lunarg, the official source and get rid of bazel
  3. derp some blobs together on my local machine, but I can't do Mac
  4. recompile on CI every time, too slow IMO

I'm considering trying out 2 tomorrow, or do you @LegNeato have a better idea?

This also unblocks #258

@Firestar99 Firestar99 marked this pull request as ready for review June 11, 2025 10:15
@Firestar99 Firestar99 marked this pull request as draft June 11, 2025 10:16
@Firestar99
Copy link
Member Author

@LegNeato This is effectively ready to review, it just requires #279 and spirv-tools-rs PR Rust-GPU/spirv-tools-rs#11 to be merged and released on crates.

@Firestar99 Firestar99 force-pushed the vulkan1_4 branch 3 times, most recently from b9e1d6d to b544bcc Compare June 15, 2025 10:59
@Firestar99 Firestar99 marked this pull request as ready for review June 15, 2025 10:59
run: cargo fetch --locked --target ${{ matrix.target }}
- name: compiletest
run: cargo run -p compiletests --release --no-default-features --features "use-installed-tools" -- --target-env vulkan1.1,vulkan1.2,spv1.3
run: cargo run -p compiletests --release --no-default-features --features "use-installed-tools" -- --target-env vulkan1.1,vulkan1.2,vulkan1.3,vulkan1.4
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not sure I understand the ramifications of changing this so I'll just trust you

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yea, I should add spv1.3 back for the weird quad texture tests, though I think in practice everyone uses vulkan targets anyway

@Firestar99 Firestar99 added this pull request to the merge queue Jun 22, 2025
Merged via the queue into main with commit ccb109d Jun 22, 2025
10 of 13 checks passed
@Firestar99 Firestar99 deleted the vulkan1_4 branch June 22, 2025 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants