Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MoltenVK Reports binding_array of Storage Buffer is Incorrectly Validated #6745

Open
Tracked by #3637
cwfitzgerald opened this issue Dec 14, 2024 · 0 comments
Open
Tracked by #3637
Labels
api: vulkan Issues with Vulkan area: correctness We're behaving incorrectly external: upstream Issues happening in lower level APIs or platforms feature: bindless Issues with Bindless Native Feature type: bug Something isn't working

Comments

@cwfitzgerald
Copy link
Member

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
@cwfitzgerald cwfitzgerald added type: bug Something isn't working external: upstream Issues happening in lower level APIs or platforms area: correctness We're behaving incorrectly api: vulkan Issues with Vulkan feature: bindless Issues with Bindless Native Feature labels Dec 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: vulkan Issues with Vulkan area: correctness We're behaving incorrectly external: upstream Issues happening in lower level APIs or platforms feature: bindless Issues with Bindless Native Feature type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant