vk/0.210.0: Rework QueueFamilyProperties

This commit is contained in:
Jason Ekstrand 2015-12-02 16:20:40 -08:00
parent fed3586f34
commit 74c4c4acb6
2 changed files with 4 additions and 2 deletions

View file

@ -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 {

View file

@ -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 },
};
}