radeonsi: Decompress DCC textures in a render feedback loop.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Tue, 31 May 2016 12:11:49 +0000 (14:11 +0200)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Tue, 31 May 2016 19:43:04 +0000 (21:43 +0200)
commit35818129a676502415a5f502ccd2759646066921
tree6ddf2b5c345cca3827bfae9bdb8bf4f73bf629d9
parentcbe3421f05b1a99df6df0fc93d7ce7d5071af02f
radeonsi: Decompress DCC textures in a render feedback loop.

By using a counter to quickly reject textures that are not
bound to a framebuffer, the performance impact when binding
sampler_views/images is not too large.

Signed-off-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeonsi/si_blit.c
src/gallium/drivers/radeonsi/si_descriptors.c
src/gallium/drivers/radeonsi/si_pipe.h
src/gallium/drivers/radeonsi/si_state.c