panfrost: Zero tripipe on initialize

I don't think the hardware cares, but this adds a lot of noise to traces
that we would rather not need to look at.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
This commit is contained in:
Alyssa Rosenzweig 2019-08-14 14:21:02 -07:00
parent 1ab6290746
commit 54438267c3
1 changed files with 1 additions and 1 deletions

View File

@ -2120,7 +2120,7 @@ panfrost_bind_shader_state(
}
}
variants->variants[variant].tripipe = malloc(sizeof(struct mali_shader_meta));
variants->variants[variant].tripipe = calloc(1, sizeof(struct mali_shader_meta));
}