aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/panfrost/pan_cmdstream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/panfrost/pan_cmdstream.c b/src/gallium/drivers/panfrost/pan_cmdstream.c
index 0070c18faba..7d61b2ff7cd 100644
--- a/src/gallium/drivers/panfrost/pan_cmdstream.c
+++ b/src/gallium/drivers/panfrost/pan_cmdstream.c
@@ -1550,7 +1550,7 @@ panfrost_emit_varying_descriptor(struct panfrost_batch *batch,
memcpy(trans.cpu, vs->varyings, vs_size);
memcpy(trans.cpu + vs_size, fs->varyings, fs_size);
- union mali_attr varyings[PIPE_MAX_ATTRIBS] = { };
+ union mali_attr varyings[PIPE_MAX_ATTRIBS] = {0};
/* Figure out how many streamout buffers could be bound */
unsigned so_count = ctx->streamout.num_targets;