freedreno: Fix GCC build error.
authorVinson Lee <vlee@freedesktop.org>
Thu, 30 May 2019 21:47:37 +0000 (14:47 -0700)
committerVinson Lee <vlee@freedesktop.org>
Mon, 3 Jun 2019 23:46:54 +0000 (16:46 -0700)
commitd4e70be7396b5330fca5b5ece2327a3e1c42b6e7
tree56208251df9969dcf32839af59d8bc5477396fbb
parent774a088f64e0984411204231ba8647b68f1b35c9
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øgsberg <krh@bitplanet.net>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=110698
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Rob Clark <robdclark@gmail.com>
src/freedreno/vulkan/tu_device.c