panfrost: Fix gnu-empty-initializer error.
authorVinson Lee <vlee@freedesktop.org>
Sun, 15 Mar 2020 01:57:05 +0000 (18:57 -0700)
committerVinson Lee <vlee@freedesktop.org>
Mon, 16 Mar 2020 22:06:57 +0000 (15:06 -0700)
commit5c3f20a25baa6f5b2baa2a6ef693e38095da5508
tree47cdeab6ec4fd401331deae228faeb3d1a9fe973
parent2d14a8f23721cba2f66ddecbece09a024dc1b45a
panfrost: Fix gnu-empty-initializer error.

../src/gallium/drivers/panfrost/pan_cmdstream.c:1553:54: error: use of GNU empty initializer extension [-Werror,-Wgnu-empty-initializer]
        union mali_attr varyings[PIPE_MAX_ATTRIBS] = { };
                                                     ^

Fixes: 836686daf36c ("panfrost: Move panfrost_emit_varying_descriptor() to pan_cmdstream.c")
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4198>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4198>
src/gallium/drivers/panfrost/pan_cmdstream.c