nvk: Disable non-graphics timestamp queries
We can support this in the future, but we don't implement it just yet. Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36651>
This commit is contained in:
@@ -1634,7 +1634,12 @@ nvk_GetPhysicalDeviceQueueFamilyProperties2(
|
||||
vk_outarray_append_typed(VkQueueFamilyProperties2, &out, p) {
|
||||
p->queueFamilyProperties.queueFlags = queue_family->queue_flags;
|
||||
p->queueFamilyProperties.queueCount = queue_family->queue_count;
|
||||
p->queueFamilyProperties.timestampValidBits = 64;
|
||||
if (queue_family->queue_flags & VK_QUEUE_GRAPHICS_BIT) {
|
||||
p->queueFamilyProperties.timestampValidBits = 64;
|
||||
} else {
|
||||
/* TODO: Timestamps on non-graphics queues */
|
||||
p->queueFamilyProperties.timestampValidBits = 0;
|
||||
}
|
||||
p->queueFamilyProperties.minImageTransferGranularity =
|
||||
(VkExtent3D){1, 1, 1};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user