radeonsi: silence a warning

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14089>
This commit is contained in:
Pierre-Eric Pelloux-Prayer 2021-12-06 21:13:08 +01:00 committed by Marge Bot
parent 573d645133
commit 84fea554e3

View file

@ -1147,7 +1147,7 @@ static void si_clear_depth_stencil(struct pipe_context *ctx, struct pipe_surface
bool render_condition_enabled)
{
struct si_context *sctx = (struct si_context *)ctx;
union pipe_color_union unused;
union pipe_color_union unused = {};
/* Fast path that just clears HTILE. */
if (si_try_normal_clear(sctx, dst, dstx, dsty, width, height, render_condition_enabled,