mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 23:55:52 +01:00
[PR #1200] d3d12: keep compute repacks off transfer-only queues #1232
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#1232
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/1200
Author: @PyZikYG
Created: 11/24/2026
Status: 🔄 Open
Base:
main← Head:copy-transfer-family-capability📝 Commits (2)
92219e6d3d12: keep compute repacks off transfer-only queues8a5d5cbtest: 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.