EmbarkStudios/rust-gpu

CI tests fails with latest spirv-val

repi opened this issue · 1 comments

repi commented

The Mac builds in CI use latest available spirv-val and that started failing the tests now. Possibly from the SPIRV-Tools v2022.2 release 10 days ago

https://github.com/EmbarkStudios/rust-gpu/runs/6053175509?check_suite_focus=true

test [ui] ui/image/sample_depth_reference/sample_gradient.rs ... FAILED
normalized stderr:
error: error:0:0 - [VUID-StandaloneSpirv-OpImage-04777] In Vulkan, OpImage*Dref* instructions must not use images with a 3D Dim
  |
  = note: spirv-val failed
  = note: module `$TEST_BUILD_DIR/image/sample_depth_reference/sample_lod.stage-id.spv.dir/module`

error: aborting due to previous error

Linux and Windows tests do not fail as they use a fixed frozen spirv-val version that it downloads, though we should upgrade that also. Filed:

eddyb commented

Fixed in the commit I added to #867 (see #867 (review)).