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

write-only storage buffer cannot match a Pipeline Layout #2897

Closed
cwfitzgerald opened this issue Jul 20, 2022 · 1 comment
Closed

write-only storage buffer cannot match a Pipeline Layout #2897

cwfitzgerald opened this issue Jul 20, 2022 · 1 comment
Labels
area: validation Issues related to validation, diagnostics, and error handling good first issue Good for newcomers help required We need community help to make this happen. type: bug Something isn't working

Comments

@cwfitzgerald
Copy link
Member

Description

When you provide a storage buffer pipeline layout with read-only set to false, if the shader marks the buffer is write, it will complain about a mismatched PLL and shader.

[ERROR wgpu::backend::direct] Handling wgpu errors as fatal by default
    error matching shader requirements against the pipeline
    shader global ResourceBinding { group: 0, binding: 2 } is not available in the layout pipeline layout
    storage class Storage { access: LOAD | STORE } doesn't match the shader Storage { access: STORE }
@cwfitzgerald cwfitzgerald added type: bug Something isn't working help required We need community help to make this happen. good first issue Good for newcomers area: validation Issues related to validation, diagnostics, and error handling labels Jul 20, 2022
@teoxoy teoxoy added this to the WebGPU Specification V1 milestone Dec 5, 2022
@teoxoy
Copy link
Member

teoxoy commented Jun 30, 2023

Fixed by #3893

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: validation Issues related to validation, diagnostics, and error handling good first issue Good for newcomers help required We need community help to make this happen. type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants