mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-01 18:20:10 +01:00
anv/device: Remove a use of a compound literal
Older versions of GCC don't like compound literals in static const variable declarations because they don't think it's an actual constant value. Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
This commit is contained in:
parent
76dc49f3fb
commit
28b134c75c
1 changed files with 1 additions and 1 deletions
|
|
@ -694,7 +694,7 @@ anv_queue_family_properties = {
|
|||
VK_QUEUE_TRANSFER_BIT,
|
||||
.queueCount = 1,
|
||||
.timestampValidBits = 36, /* XXX: Real value here */
|
||||
.minImageTransferGranularity = (VkExtent3D) { 1, 1, 1 },
|
||||
.minImageTransferGranularity = { 1, 1, 1 },
|
||||
};
|
||||
|
||||
void anv_GetPhysicalDeviceQueueFamilyProperties(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue