[PR #1200] d3d12: keep compute repacks off transfer-only queues #1232

Open
opened 2026-11-26 20:20:32 +01:00 by 4ld0 · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/1200
Author: @PyZikYG
Created: 11/24/2026
Status: 🔄 Open

Base: main ← Head: copy-transfer-family-capability


📝 Commits (2)

  • 92219e6 d3d12: keep compute repacks off transfer-only queues
  • 8a5d5cb test: run the transfer-only RGB96 case without WARP

📊 Changes

4 files changed (+63 additions, -13 deletions)

View changed files

📝 runtime/CMakeLists.txt (+2 -0)
📝 runtime/shims/d3d12_vulkan_device.cpp (+6 -2)
📝 runtime/src/vulkan_backend.h (+5 -1)
📝 runtime/test/d3d12_rgb96_test.cpp (+50 -10)

📄 Description

Claimed as D3D-COPY-TRANSFER-FAMILY.

Transfer-only copy families were classified only when conditional rendering was enabled. Even if a family was classified correctly, its replay table inherited the compute repack callback from the shared context. A D24 or RGB96 footprint copy could therefore record compute work on a VkQueue that cannot execute it.

Classify the family independently of predication and remove the repack callback from transfer-only replay. These copies fail during preparation on a transfer-only queue. Vulkan queues with graphics or compute support can still run the conversion.

AI-assisted: yes.

Tested

  • d3d12_rgb96: PASS on Windows.
  • d3d12_rgb96_transfer_queue: PASS on Windows. This case does not use WARP and is independently runnable under Wine on devices with a transfer-only queue family.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ubiquitarianism/leonida/pull/1200 **Author:** [@PyZikYG](https://github.com/PyZikYG) **Created:** 11/24/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `copy-transfer-family-capability` --- ### 📝 Commits (2) - [`92219e6`](https://github.com/ubiquitarianism/leonida/commit/92219e6721ca26117861c9f8ad007bd0972b76ae) d3d12: keep compute repacks off transfer-only queues - [`8a5d5cb`](https://github.com/ubiquitarianism/leonida/commit/8a5d5cbf1fa6318157c609b3a57c7d88a22fff4f) test: run the transfer-only RGB96 case without WARP ### 📊 Changes **4 files changed** (+63 additions, -13 deletions) <details> <summary>View changed files</summary> 📝 `runtime/CMakeLists.txt` (+2 -0) 📝 `runtime/shims/d3d12_vulkan_device.cpp` (+6 -2) 📝 `runtime/src/vulkan_backend.h` (+5 -1) 📝 `runtime/test/d3d12_rgb96_test.cpp` (+50 -10) </details> ### 📄 Description Claimed as [D3D-COPY-TRANSFER-FAMILY](https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7142922846). Transfer-only copy families were classified only when conditional rendering was enabled. Even if a family was classified correctly, its replay table inherited the compute repack callback from the shared context. A D24 or RGB96 footprint copy could therefore record compute work on a VkQueue that cannot execute it. Classify the family independently of predication and remove the repack callback from transfer-only replay. These copies fail during preparation on a transfer-only queue. Vulkan queues with graphics or compute support can still run the conversion. AI-assisted: yes. ### Tested - `d3d12_rgb96`: PASS on Windows. - `d3d12_rgb96_transfer_queue`: PASS on Windows. This case does not use WARP and is independently runnable under Wine on devices with a transfer-only queue family. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
starred/leonida#1232
No description provided.