radeonsi: decompress DCC in set_framebuffer_state instead of create_surface (v2)
authorMarek Olšák <marek.olsak@amd.com>
Fri, 24 Mar 2017 02:02:53 +0000 (03:02 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Fri, 31 Mar 2017 18:57:53 +0000 (20:57 +0200)
commit8c7d1ded1919dcfe41ab38b92557713b3f904106
tree3df4e7f2c49cb68ea29e8db6b1076b94e9ed84b5
parentd10fbe5159ce1f7e05e959bb44e50f40a2402fb5
radeonsi: decompress DCC in set_framebuffer_state instead of create_surface (v2)

for threaded gallium, which can't use pipe_context in create_surface

v2: don't add a new decompress helper function

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_state.c