Skip to content

Bring immediate in line with webgpu spec#9280

Open
atlv24 wants to merge 6 commits intogfx-rs:trunkfrom
atlv24:ad/immediates
Open

Bring immediate in line with webgpu spec#9280
atlv24 wants to merge 6 commits intogfx-rs:trunkfrom
atlv24:ad/immediates

Conversation

@atlv24
Copy link
Collaborator

@atlv24 atlv24 commented Mar 21, 2026

Connections
ticks boxes in #8556

Description
Brings immediate validation in line with webgpu spec. Bitmask of immediate slots required for a pipeline, tracks slot writing, removes auto-zeroing, and infers immediate_size for auto pipline layouts

Testing
Theres some tests on the slot bitmask algorithm and some validation tests for set_immediates behavior

Squash or Rebase?

Either, commits are clean

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.

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.

1 participant