From: Jason Ekstrand Date: Thu, 3 Dec 2015 00:20:40 +0000 (-0800) Subject: vk/0.210.0: Rework QueueFamilyProperties X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=74c4c4acb60c9a9dc50bd573fbe3f5a3f7b10719;p=mesa.git vk/0.210.0: Rework QueueFamilyProperties --- 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 }, }; }