MoltenVK Reports `binding_array` of Storage Buffer is Incorrectly Validated
Opened this issue · 0 comments
cwfitzgerald commented
Running #6732's storage buffer test on moltenvk gives the following error. No actual validation error though.
[2024-12-14T22:02:52Z ERROR wgpu::backend::wgpu_core] Shader translation error for stage ShaderStages(COMPUTE): module is not validated properly: array length expression: bad SPIR-V wrapper struct inference
[2024-12-14T22:02:52Z ERROR wgpu::backend::wgpu_core] Please report it to https://github.com/gfx-rs/wgpu
[2024-12-14T22:02:52Z ERROR wgpu::backend::wgpu_core] Handling wgpu errors as fatal by default
thread '<unnamed>' panicked at wgpu/src/backend/wgpu_core.rs:1352:26:
wgpu error: Validation Error
Caused by:
In Device::create_compute_pipeline, label = 'Compute Pipeline'
Internal error: module is not validated properly: array length expression: bad SPIR-V wrapper struct inference
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[2024-12-14T22:02:52Z ERROR wgpu_test::expectations] Panic: wgpu error: Validation Error
Caused by:
In Device::create_compute_pipeline, label = 'Compute Pipeline'
Internal error: module is not validated properly: array length expression: bad SPIR-V wrapper struct inference
thread '<unnamed>' panicked at tests/src/run.rs:120:9:
tests/tests/binding_array/buffers.rs:28:62: test "wgpu_test::binding_array::buffers::binding_array_storage_buffers" did not behave as expected