wgpu
wgpu copied to clipboard
dx12: Add support for push constants
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