Mesa (main): radeonsi: silence a warning
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Mon Dec 13 09:59:03 UTC 2021
Module: Mesa
Branch: main
Commit: 84fea554e3ebebc5e1ed179a6d716e2deb5c35de
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=84fea554e3ebebc5e1ed179a6d716e2deb5c35de
Author: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Date: Mon Dec 6 21:13:08 2021 +0100
radeonsi: silence a warning
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14089>
---
src/gallium/drivers/radeonsi/si_clear.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gallium/drivers/radeonsi/si_clear.c b/src/gallium/drivers/radeonsi/si_clear.c
index 754553e6f45..971c9195c95 100644
--- a/src/gallium/drivers/radeonsi/si_clear.c
+++ b/src/gallium/drivers/radeonsi/si_clear.c
@@ -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,
More information about the mesa-commit
mailing list