[Mesa-dev] [PATCH 3/4] freedreno/ir3: Add missing braces in initializer

Rob Clark robdclark at gmail.com
Thu Jul 28 23:53:48 UTC 2016


On Thu, Jul 28, 2016 at 6:44 PM, Rob Herring <robh at kernel.org> wrote:
> On Thu, Jul 28, 2016 at 1:07 PM, Rob Clark <robdclark at gmail.com> wrote:
>> tbh, I haven't used anything as ancient as 4.6 in a while.. these days
>> I'm using 6.1 and even with 5.x I don't remember seeing that warning.
>
> FWIW, clang 3.8 throws the warning too.
>

I think that since it is only that one spot (which, btw, is only hit
w/ FD_MESA_DEBUG=shaderdb, ie. only for running shaderdb tests), we
could also go old-school and just memset() it..

BR,
-R


More information about the mesa-dev mailing list