Skip to content

Conversation

@andyleiserson
Copy link
Contributor

Hopefully fixes #8846 using the same strategy as #8719, which fixed a similar problem with storage binding size alignment.

Note that the CTS test in the issue is already enabled (webgpu:api,operation,vertex_state,correctness:non_zero_array_stride_and_attribute_offset:*). It seems the failure only appears on specific hardware/drivers.

Testing
Untested

Squash or Rebase? Squash

Checklist

  • Run cargo fmt.
  • Run taplo format.
  • Run cargo clippy --tests. If applicable, add:
    • --target wasm32-unknown-unknown
  • Run cargo xtask test to run tests.
  • If this contains user-facing changes, add a CHANGELOG.md entry.

Fixes gfx-rs#8846

Note that the CTS test in the issue is already enabled
(`webgpu:api,operation,vertex_state,correctness:non_zero_array_stride_and_attribute_offset:*`).
It seems the failure only appears on specific hardware/drivers.
@MareSorin-Alexandru
Copy link

Tested the PR and it does fix #8846

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.

maxVertexBufferArrayStride is not rounded down to the nearest multiple of 4 when using the vulkan backend

2 participants