-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Labels
area: documentationDocumentation for crate items, public or privateDocumentation for crate items, public or privatetype: bugSomething isn't workingSomething isn't working
Description
The docs for the Limits struct say to expect max_push_contant_size
to be 256 bytes on the DX12 backend.
But I encountered a 128 bytes limit on a relatively modern iGPU in an AMD Ryzen 7 PRO 4750U CPU on Windows 11
I propose changing this line in the docs to be identical to the Vulkan backend - 128-256 bytes
Since it's a really tiny change, I've done so in my fork and can open a PR if you'd like to accept it
https://github.com/Bromles/wgpu/blob/trunk/wgpu-types/src/lib.rs#L679
I will attach the full wgpu-info -vv
logs from my machine, Adapter 1 is the DX12 hardware with the limits mentioned above (not to be confused with Adapter 2, which is the software DX12 implementation that also has only a 128-byte push constant size limit)
Metadata
Metadata
Assignees
Labels
area: documentationDocumentation for crate items, public or privateDocumentation for crate items, public or privatetype: bugSomething isn't workingSomething isn't working
Type
Projects
Status
In Progress