[Mesa-dev] [PATCH] freedreno: Fix GCC build error.

Rob Clark robdclark at gmail.com
Tue Jun 4 16:59:43 UTC 2019


On Tue, Jun 4, 2019 at 12:59 AM Juan A. Suarez Romero
<jasuarez at igalia.com> wrote:
>
> On Thu, 2019-05-30 at 21:48 +0000, Vinson Lee wrote:
> > ../src/freedreno/vulkan/tu_device.c:900:4: error: initializer element is not constant
> >     .minImageTransferGranularity = (VkExtent3D) { 1, 1, 1 },
> >     ^
> >
>
> Shouldn't this be nominated to stable?
>

yes, I think so

BR,
-R

>
>         J.A.
>
> > Suggested-by: Kristian Høgsberg <krh at bitplanet.net>
> > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=110698
> > Signed-off-by: Vinson Lee <vlee at freedesktop.org>
> > ---
> >  src/freedreno/vulkan/tu_device.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/src/freedreno/vulkan/tu_device.c b/src/freedreno/vulkan/tu_device.c
> > index 2e930d9841fe..fdb9e1e0a1e2 100644
> > --- a/src/freedreno/vulkan/tu_device.c
> > +++ b/src/freedreno/vulkan/tu_device.c
> > @@ -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
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list