radeonsi: fix texture reinterpretation after DCC fast clear
authorMarek Olšák <marek.olsak@amd.com>
Wed, 7 Sep 2016 00:51:24 +0000 (02:51 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 8 Sep 2016 20:51:33 +0000 (22:51 +0200)
commit758bc52959e8132e7972b4e7086c1220e0497d61
treef36a95c9bded1bccc2cbbd19005a90b23f56b661
parent46c425e7c8bbc07b435e59834ed5f379f3f69bdf
radeonsi: fix texture reinterpretation after DCC fast clear

The problem is that TC-compatible DCC clear codes translate
into different clear values when you change the format.

I have a new piglit reproducing the issue.

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeon/r600_texture.c