[PR #1154] [MERGED] d3d12: report copy queue timestamp support from Vulkan queue capabilities #1186

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

📋 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)

  • a8ed98c d3d12: report copy queue timestamp support from Vulkan queue capabilities
  • be010a4 d3d12: 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.

## 📋 Pull Request Information **Original PR:** https://github.com/ubiquitarianism/leonida/pull/1154 **Author:** [@PyZikYG](https://github.com/PyZikYG) **Created:** 11/24/2026 **Status:** ✅ Merged **Merged:** 11/25/2026 **Merged by:** [@QemmHD](https://github.com/QemmHD) **Base:** `main` ← **Head:** `copy-queue-timestamp-support` --- ### 📝 Commits (2) - [`a8ed98c`](https://github.com/ubiquitarianism/leonida/commit/a8ed98c231c79bade00ddd7ccb44186d9f0a0df0) d3d12: report copy queue timestamp support from Vulkan queue capabilities - [`be010a4`](https://github.com/ubiquitarianism/leonida/commit/be010a409c24c5732c3dc6122f28f2a493a5afc6) d3d12: check the copy timestamp fallback family explicitly ### 📊 Changes **7 files changed** (+122 additions, -22 deletions) <details> <summary>View changed files</summary> 📝 `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) </details> ### 📄 Description Claimed as [D3D-COPY-TIMESTAMP-CAPS](https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7141774714). 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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
4ld0 2026-11-26 20:20:23 +01:00
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#1186
No description provided.