radeonsi: rewrite DCC format compatibility checking code
authorMarek Olšák <marek.olsak@amd.com>
Thu, 12 Apr 2018 01:21:28 +0000 (21:21 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Fri, 27 Apr 2018 21:56:04 +0000 (17:56 -0400)
commit2d69b485f557d8d438edf7e99ad4b15bb2594061
tree0c45aec886acdf8eb9f7f0f9b421abd0bda3ec5e
parentc732d069b3a4a5fefb353d01d17834ce2c548ae6
radeonsi: rewrite DCC format compatibility checking code

It might be better to use a slow compressed clear when clearing to 1.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeonsi/si_texture.c