mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
vk/0.210.0: Rework QueueFamilyProperties
This commit is contained in:
parent
fed3586f34
commit
74c4c4acb6
2 changed files with 4 additions and 2 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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 },
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue