mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-27 00:00:52 +01:00
[PR #1154] [MERGED] d3d12: report copy queue timestamp support from Vulkan queue capabilities #1186
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#1186
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/1154
Author: @PyZikYG
Created: 11/24/2026
Status: ✅ Merged
Merged: 11/25/2026
Merged by: @QemmHD
Base:
main← Head:copy-queue-timestamp-support📝 Commits (2)
a8ed98cd3d12: report copy queue timestamp support from Vulkan queue capabilitiesbe010a4d3d12: check the copy timestamp fallback family explicitly📊 Changes
7 files changed (+122 additions, -22 deletions)
View changed files
📝
docs/d3d12_vulkan.md(+5 -1)📝
runtime/shims/d3d12_com.cpp(+8 -4)📝
runtime/shims/d3d12_vulkan_device.cpp(+32 -16)📝
runtime/src/queue_families.h(+13 -0)📝
runtime/test/d3d12_query_rules_test.cpp(+53 -0)📝
runtime/test/d3d12_vulkan_device_test.cpp(+1 -1)📝
runtime/test/vk_queue_test.cpp(+10 -0)📄 Description
Claimed as D3D-COPY-TIMESTAMP-CAPS.
OPTIONS3 always reported copy queue timestamps as unsupported, even when a copy queue could write and resolve them on the graphics family. Heap creation used the graphics family's timestamp support even when a copy queue could be assigned a dedicated transfer family.
Use the same capability check for OPTIONS3 and COPY_QUEUE_TIMESTAMP heaps. Every family the copy queue can use must provide timestamp bits and permit query reset and resolve. GetTimestampFrequency and submission validation now check the queue's actual family, and clock calibration receives that family's timestamp width.
AI-assisted: yes.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.