wgpu icon indicating copy to clipboard operation
wgpu copied to clipboard

dx12: Add support for push constants

Open JCapucho opened this issue 2 years ago • 0 comments

Checklist

  • [x] Run cargo clippy (shows some warning unrelated to my work).
  • [x] Run RUSTFLAGS=--cfg=web_sys_unstable_apis cargo clippy --target wasm32-unknown-unknown if applicable (not applicable).
  • [ ] Add change to CHANGELOG.md. See simple instructions inside file.

Connections Requires https://github.com/gfx-rs/naga/pull/2005

Description Adds support for push constants on the dx12 backend by using a slot on the root signature for a constant buffer.

Testing Tested with a very basic cube program, needs more testing

JCapucho avatar Jul 10 '22 19:07 JCapucho