d3d12: support R9G9B9E5_SHAREDEXP & B5G5R5A1_UNORM UAVs via castable formats #188
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/brcly--TuxBox!188
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/188/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@Vladimir-Human on GitHub · 2026-11-25 18:39 UTC · original
Vladimir-Human:d3d12/geforce-r9g9b9e5-uav→main· +2334 −53 · 14 files · 2 commits · merged 2026-11-25 19:20 UTCAI-assisted PR.
Summary
Adds native-gated castable-format UAV support for DXGI_FORMAT_R9G9B9E5_SHAREDEXP (aliased to R32_UINT) and DXGI_FORMAT_B5G5R5A1_UNORM (aliased to R16_UINT) so typed UAVs on packed formats work cleanly on GPUs without native typed UAV support for those formats (for example NVIDIA GeForce 10de:2783 where yped_uav: R9G9B9E5=0 B5G5R5A1=0), while preserving the native path on adapters/drivers that support them directly (such as WARP 1414:008c).
Key Changes
untime/d3d12/src/device/dxgi.rs, llocation.rs,
esources.rs, heap.rs, placement.rs,
eserved.rs, copy_memory.rs, iews.rs).
Verification (
91a9de2f37)4cb6a4a), PR #185, and PR #186.