From 74c4c4acb60c9a9dc50bd573fbe3f5a3f7b10719 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Wed, 2 Dec 2015 16:20:40 -0800 Subject: [PATCH] vk/0.210.0: Rework QueueFamilyProperties --- include/vulkan/vulkan.h | 3 ++- src/vulkan/anv_device.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/include/vulkan/vulkan.h b/include/vulkan/vulkan.h index 2d8f0202326..0a9499eadfe 100644 --- a/include/vulkan/vulkan.h +++ b/include/vulkan/vulkan.h @@ -1311,7 +1311,8 @@ typedef struct VkPhysicalDeviceProperties { typedef struct VkQueueFamilyProperties { VkQueueFlags queueFlags; uint32_t queueCount; - VkBool32 supportsTimestamps; + uint32_t timestampValidBits; + VkExtent3D minImageTransferGranularity; } VkQueueFamilyProperties; typedef struct VkMemoryType { diff --git a/src/vulkan/anv_device.c b/src/vulkan/anv_device.c index 3fba33960d5..11d97838c96 100644 --- a/src/vulkan/anv_device.c +++ b/src/vulkan/anv_device.c @@ -511,7 +511,8 @@ void anv_GetPhysicalDeviceQueueFamilyProperties( VK_QUEUE_COMPUTE_BIT | VK_QUEUE_TRANSFER_BIT, .queueCount = 1, - .supportsTimestamps = true, + .timestampValidBits = 0, /* XXX: Real value here */ + .minImageTransferGranularity = (VkExtent3D) { 1, 1, 1 }, }; } -- 2.30.2