mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 22:45:53 +01:00
[PR #695] d3d12: support normalized R16 depth UAV views #735
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#735
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/695
Author: @QemmHD
Created: 11/24/2026
Status: 🔄 Open
Base:
qemmhd/rt-depth-same-base-shapes← Head:qemmhd/rt-d16-unorm-uav📝 Commits (1)
d2b3065d3d12: support normalized R16 depth UAV views📊 Changes
5 files changed (+92 additions, -18 deletions)
View changed files
📝
docs/d3d12_vulkan.md(+4 -2)📝
runtime/CMakeLists.txt(+2 -1)📝
runtime/shims/d3d12_vulkan_device.cpp(+17 -3)📝
runtime/test/d3d12_depth_stencil_uav_test.cpp(+49 -10)📝
runtime/test/glsl/cs_depth_stencil_uav.comp(+20 -2)📄 Description
Claimed in #14 as RT-D16-UNORM-UAV. Depends on #261 and #689. This draft targets #689's branch so only the R16 view change appears in the review.
What and why
Slot 133 depth textures can receive a normalized
R16_UNORMUAV request. The D16 storage plane has anR16_UINTimage and rejects that request. Where the device can use the normalized storage format, create a mutable view of the same storage image and use the existing typed descriptor path. The two views read and write the same D16 bits. The integer-only allocation stays available on devices that cannot create the compatible view.Tested
ba9fb4392. Whitespace and game-data checks passed. The raw branch build stops at pre-existing slot-14 descriptor-heap bridge compile errors. The GPU results above come from the local Windows integration.AI-assisted: yes (Codex).
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.