summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2015-12-02 16:20:40 -0800
committerJason Ekstrand <[email protected]>2015-12-03 13:43:54 -0800
commit74c4c4acb60c9a9dc50bd573fbe3f5a3f7b10719 (patch)
treebe1ab9a911de3be585943a0cf6c8f6305a471ee9
parentfed3586f34ce701b0f6464c54456122e096c0bee (diff)
vk/0.210.0: Rework QueueFamilyProperties
-rw-r--r--include/vulkan/vulkan.h3
-rw-r--r--src/vulkan/anv_device.c3
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 },
};
}