Fixes: a24d6fbae6 ("meson: Add -Werror=gnu-empty-initializer to MSVC compat args")
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
master
| @@ -106,7 +106,7 @@ void | |||
| panfrost_blit_wallpaper(struct panfrost_context *ctx, struct pipe_box *box) | |||
| { | |||
| struct panfrost_batch *batch = ctx->wallpaper_batch; | |||
| struct pipe_blit_info binfo = { }; | |||
| struct pipe_blit_info binfo = {0}; | |||
| panfrost_blitter_save(ctx, ctx->blitter_wallpaper); | |||
| @@ -58,7 +58,7 @@ static struct midgard_tiler_descriptor | |||
| panfrost_emit_midg_tiler(struct panfrost_batch *batch, unsigned vertex_count) | |||
| { | |||
| struct panfrost_screen *screen = pan_screen(batch->ctx->base.screen); | |||
| struct midgard_tiler_descriptor t = {}; | |||
| struct midgard_tiler_descriptor t = {0}; | |||
| unsigned height = batch->key.height; | |||
| unsigned width = batch->key.width; | |||
| @@ -1959,7 +1959,7 @@ update_so_info(struct pipe_stream_output_info *so_info, | |||
| uint64_t outputs_written) | |||
| { | |||
| uint64_t so_outputs = 0; | |||
| uint8_t reverse_map[64] = {}; | |||
| uint8_t reverse_map[64] = {0}; | |||
| unsigned slot = 0; | |||
| while (outputs_written) | |||
| @@ -357,8 +357,8 @@ mali_ptr | |||
| panfrost_mfbd_fragment(struct panfrost_batch *batch, bool has_draws) | |||
| { | |||
| struct bifrost_framebuffer fb = panfrost_emit_mfbd(batch, has_draws); | |||
| struct bifrost_fb_extra fbx = {}; | |||
| struct bifrost_render_target rts[4] = {}; | |||
| struct bifrost_fb_extra fbx = {0}; | |||
| struct bifrost_render_target rts[4] = {0}; | |||
| /* We always upload at least one dummy GL_NONE render target */ | |||