Skip to content
Snippets Groups Projects
Commit 2a45ddd4 authored by Vinson Lee's avatar Vinson Lee Committed by Juan A. Suárez
Browse files

freedreno: Fix GCC build error.


../src/freedreno/vulkan/tu_device.c:900:4: error: initializer element is not constant
    .minImageTransferGranularity = (VkExtent3D) { 1, 1, 1 },
    ^

Suggested-by: default avatarKristian Høgsberg <krh@bitplanet.net>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=110698


Signed-off-by: default avatarVinson Lee <vlee@freedesktop.org>
Reviewed-by: default avatarRob Clark <robdclark@gmail.com>
(cherry picked from commit d4e70be7)
parent 96fbd543
No related branches found
No related tags found
No related merge requests found
......@@ -897,7 +897,7 @@ static const VkQueueFamilyProperties tu_queue_family_properties = {
VK_QUEUE_GRAPHICS_BIT | VK_QUEUE_COMPUTE_BIT | VK_QUEUE_TRANSFER_BIT,
.queueCount = 1,
.timestampValidBits = 64,
.minImageTransferGranularity = (VkExtent3D) { 1, 1, 1 },
.minImageTransferGranularity = { 1, 1, 1 },
};
void
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment