radeonsi: disable dcc for 2x MSAA surface and bpe < 4
authorPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Fri, 13 Dec 2019 16:38:27 +0000 (17:38 +0100)
committerMarge Bot <eric+marge@anholt.net>
Mon, 16 Dec 2019 08:08:08 +0000 (08:08 +0000)
commit0e286f6cbf34206e0f243895e9b125ae1d08ca75
treeb3b43e894832199781f1d2393edd110281e29bff
parent4202cf8bf168229135173bcf67ddc99d74fe7d81
radeonsi: disable dcc for 2x MSAA surface and bpe < 4

This fixes a series of dEQP tests on Raven platforms:
  - dEQP-GLES3.functional.fbo.msaa.2_samples.rgba4
  - dEQP-GLES3.functional.fbo.msaa.2_samples.rgb5_a1
  - dEQP-GLES3.functional.fbo.msaa.2_samples.rgb565
  - dEQP-GLES3.functional.fbo.msaa.2_samples.rg8
  - dEQP-GLES3.functional.fbo.msaa.2_samples.r16f

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