Repository navigation
Runtime: support RGB96 footprint copies on dedicated COPY queues - #4817
gabrielsteglich wants to merge 2 commits into
Conversation
|
Tested Built via Red control: rebuilt baseline AI-assisted (Devin); no game files. |
|
Tested
No validation messages in either run. So the RTX 5080 run checks the transfer-only handoff to the primary queue on a second NVIDIA generation, after the PR's RTX 3090. The Radeon checks that a COPY family with compute is unaffected. AI-assisted (Claude Code). |
|
Tested Controls (one change at a time, rebuilt, then restored):
The second row is pinned by the updated AI-assisted (Claude Code). |
Claimed in the coordination issue #4683.
Depends on: #4107, #3481, #4577 for merge-order conflicts. This branch builds directly on
main(98fa503f).What and why
A standard RGB96 buffer–texture copy needs compute to repack 12-byte D3D12 texels into the 16-byte Vulkan image format. On a dedicated transfer-only family, submit the affected logical COPY batch on the primary compute-capable queue. Ordinary COPY batches still use the dedicated family. Cross-queue handoffs wait on the previous COPY timeline ticket, including handoffs involving fence signals and sparse binds. Keep the compute write in the readback-to-host barrier and share conversion scratch across the queue families that use it.
This change covers standard RGB96 footprints. The emulated D24-only path on a transfer-only family remains unsupported.
Tested
Head
71821118againstmainat98fa503f.Windows 11 Pro 26300, Visual Studio 2022 Build Tools (MSVC 19.44.35229, Windows SDK 10.0.26100.0), Vulkan SDK 1.4.363.0, NVIDIA GeForce RTX 3090 on 621.01, x64 RelWithDebInfo, with core and synchronization validation enabled.
d3d12_rgb96_copy_queuematched 420 texel bytes and 1,436 sentinels for a 7×5 texture and an offset 3×3 patch. It exercises DIRECT → COPY → DIRECT waits on both a dedicated family and a shared primary queue.depth24_convertalso verifies that the RGB96 readback barrier covers compute writes.AI-assisted (Codex). No game data, keys, or decryption.