upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/src
diff options
context:
space:
mode:
authorItsNotRexed <300290919+ItsNotRexed@users.noreply.github.com>2026-11-22 03:37:51 -0500
committerItsNotRexed <300290919+ItsNotRexed@users.noreply.github.com>2026-11-22 03:37:51 -0500
commita3ac0c8ea82014293f2d4b2f6345c098587cf611 (patch)
tree015eb7680ca6e3a8b410c024847af9edcb20fbe3 /runtime/src
parent8dbf3a686c9cff3a824e40d8b4b40fd64be510bc (diff)
parentbe0e227dbd3537107765cf5c1df5e12d0e827b65 (diff)
Merge pull request #1212 from quackottu
Diffstat (limited to 'runtime/src')
-rw-r--r--runtime/src/vulkan_backend.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/src/vulkan_backend.h b/runtime/src/vulkan_backend.h
index a013b7011..800e3af17 100644
--- a/runtime/src/vulkan_backend.h
+++ b/runtime/src/vulkan_backend.h
@@ -739,6 +739,12 @@ public:
739 std::unique_lock lock(resource_mutex_); 739 std::unique_lock lock(resource_mutex_);
740 query_pools_.erase(id); 740 query_pools_.erase(id);
741 } 741 }
742 // The heap's d3d12_query_heap type, or ~0u for a heap that is not registered.
743 std::uint32_t query_heap_type(QueryHeapId id) {
744 std::lock_guard lock(mutex_);
745 const auto it = query_pools_.find(id);
746 return it == query_pools_.end() ? ~0u : it->second.heap_type;
747 }
742 748
743 // VkPhysicalDeviceLimits::timestampPeriod (nanoseconds per tick), or 0 when the queue writes no timestamps 749 // VkPhysicalDeviceLimits::timestampPeriod (nanoseconds per tick), or 0 when the queue writes no timestamps
744 // (timestampValidBits 0). Set by the device before any queue uses it. 750 // (timestampValidBits 0). Set by the device before any queue uses it.