freedreno/ir3: Avoid {0} initializer for struct reginfo
authorKristian H. Kristensen <hoegsberg@google.com>
Fri, 22 May 2020 21:30:54 +0000 (14:30 -0700)
committerKristian H. Kristensen <hoegsberg@google.com>
Tue, 26 May 2020 19:46:18 +0000 (12:46 -0700)
commitf4e64e9f530c22e779ef5747c2a927bdd5b6c47d
tree38d851ff8b39b4eb17e0ff690efc81a7e4ef8339
parent06ab93d6949924a353aada939935737dfdcbae84
freedreno/ir3: Avoid {0} initializer for struct reginfo

First element is not a scalar.  Just initialize the struct like we do
elsewhere.

src/freedreno/ir3/disasm-a3xx.c:958:33: warning: suggest braces around
initialization of subobject [-Wmissing-braces]

Reviewed-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5174>
src/freedreno/ir3/disasm-a3xx.c