Commit 2a45ddd4 authored by Vinson Lee's avatar Vinson Lee Committed by Juan Suárez Romero

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: Kristian H. Kristensen's avatarKristian Høgsberg <krh@bitplanet.net>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=110698Signed-off-by: Vinson Lee's avatarVinson Lee <vlee@freedesktop.org>
Reviewed-by: Rob Clark's avatarRob Clark <robdclark@gmail.com>
(cherry picked from commit d4e70be7)
parent 96fbd543
Pipeline #40635 passed with stages
in 10 minutes and 53 seconds
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment