radeonsi: compute DCC register parameters in si_emit_framebuffer_state
authorMarek Olšák <marek.olsak@amd.com>
Fri, 3 Jun 2016 17:56:38 +0000 (19:56 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 7 Jun 2016 22:22:45 +0000 (00:22 +0200)
commit60e93ddd0675e525333ae928e94be31b973409de
treeb3e2804c489564c5c2362248d9d887e3d3f2b3ba
parenta01536a29fdebfcdf7781e28a66b3b2abba943c8
radeonsi: compute DCC register parameters in si_emit_framebuffer_state

This will get more complicated with mipmapped DCC or when DCC is enabled
after allocation.

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