gallium/radeon: don't discard DCC if an external user can write to it
authorMarek Olšák <marek.olsak@amd.com>
Thu, 2 Jun 2016 21:30:01 +0000 (23:30 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 7 Jun 2016 09:12:26 +0000 (11:12 +0200)
commit9e5b5fbde0b445df1a3265b33e2ac890d6505409
tree816f3c99493bdb404f60c40865cc237995cb2c26
parentc6b14bafa446d1556eb0dd344de34288617e1278
gallium/radeon: don't discard DCC if an external user can write to it

We don't import textures with DCC now, but soon we will.

v2: if we can't disable DCC for image writes, at least decompress DCC
    at bind time

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeon/r600_pipe_common.h
src/gallium/drivers/radeon/r600_texture.c
src/gallium/drivers/radeonsi/si_descriptors.c