radeonsi: force dcc clear to use compute clear
authorPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Tue, 9 Feb 2021 14:13:44 +0000 (15:13 +0100)
committerPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Wed, 17 Feb 2021 13:57:26 +0000 (14:57 +0100)
commit90d6365ad4a1ee2e7cf8105d4a4ed34d926d17a7
tree8791064363c1fd250febe5b565749e07508ec121
parent1d64a1045ea205ee0297d2f741a824811570fc6d
radeonsi: force dcc clear to use compute clear

After the previous commit, when running the following
deqp-gles31 caselist:

  dEQP-GLES31.functional.image_load_store.2d.format_reinterpret.rgba32f_rgba32ui
  dEQP-GLES31.functional.image_load_store.2d.format_reinterpret.rgba32f_rgba32i

The second test always fails on gfx10. I don't know why,
but forcing the dcc clear from si_decompress_dcc to use
compute fixes the problem.

The test caselist wasn't failing before because the dcc
disable step was done in si_resource_copy_region, before
calling si_compute_copy_image.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8958>
src/gallium/drivers/radeonsi/si_blit.c