diff --git a/.pick_status.json b/.pick_status.json index ef1605be40e..31d76de50a5 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -1840,7 +1840,7 @@ "description": "radeonsi/gfx8: use the proper dcc clear size", "nominated": true, "nomination_type": 0, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": null }, diff --git a/src/gallium/drivers/radeonsi/si_clear.c b/src/gallium/drivers/radeonsi/si_clear.c index 63ff2c893c2..14c6839a7ee 100644 --- a/src/gallium/drivers/radeonsi/si_clear.c +++ b/src/gallium/drivers/radeonsi/si_clear.c @@ -352,7 +352,7 @@ bool vi_dcc_get_clear_info(struct si_context *sctx, struct si_texture *tex, unsi return false; dcc_offset += tex->surface.u.legacy.color.dcc_level[level].dcc_offset; - clear_size = tex->surface.u.legacy.color.dcc_level[level].dcc_fast_clear_size * num_layers; + clear_size = tex->surface.u.legacy.color.dcc_level[level].dcc_fast_clear_size; } si_init_buffer_clear(out, dcc_buffer, dcc_offset, clear_size, clear_value);