diff options
author | Alyssa Rosenzweig <[email protected]> | 2019-08-14 14:21:02 -0700 |
---|---|---|
committer | Alyssa Rosenzweig <[email protected]> | 2019-08-14 15:09:17 -0700 |
commit | 54438267c3f6ba14ab99659cb2eb18e25cb1554a (patch) | |
tree | 2c02d20d0671e17e261742d0b46bad8404771189 /src/gallium/drivers/panfrost | |
parent | 1ab629074622966c646a3f409859ef30a813dfe6 (diff) |
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 <[email protected]>
Diffstat (limited to 'src/gallium/drivers/panfrost')
-rw-r--r-- | src/gallium/drivers/panfrost/pan_context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/panfrost/pan_context.c b/src/gallium/drivers/panfrost/pan_context.c index da0afcd8ec7..bb506c069ac 100644 --- a/src/gallium/drivers/panfrost/pan_context.c +++ b/src/gallium/drivers/panfrost/pan_context.c @@ -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)); } |