summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeon/r600_texture.c
diff options
context:
space:
mode:
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>2016-03-10 17:57:41 +0100
committerNicolai Hähnle <nicolai.haehnle@amd.com>2016-03-11 11:51:15 -0500
commit417b6721a007a1e6b425758ffce32fd805d81f16 (patch)
tree3879137c98408f9406ef1f4387adc4a3ac1935d4 /src/gallium/drivers/radeon/r600_texture.c
parentaf3454cad58be3df63c7fe6caf9604f651a6ce54 (diff)
downloadexternal_mesa3d-417b6721a007a1e6b425758ffce32fd805d81f16.zip
external_mesa3d-417b6721a007a1e6b425758ffce32fd805d81f16.tar.gz
external_mesa3d-417b6721a007a1e6b425758ffce32fd805d81f16.tar.bz2
radeonsi: Lazily re-set sampler views after disabling DCC
Clear DCC flags if necessary when binding a new sampler view. v2: Do not reset DCC flags of bound sampler views. v3: Check that we have a real texture (Nicolai) Signed-off-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Diffstat (limited to 'src/gallium/drivers/radeon/r600_texture.c')
-rw-r--r--src/gallium/drivers/radeon/r600_texture.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/drivers/radeon/r600_texture.c b/src/gallium/drivers/radeon/r600_texture.c
index 6b2d909..115c728 100644
--- a/src/gallium/drivers/radeon/r600_texture.c
+++ b/src/gallium/drivers/radeon/r600_texture.c
@@ -311,8 +311,6 @@ static void r600_texture_disable_dcc(struct r600_common_screen *rscreen,
/* Notify all contexts about the change. */
r600_dirty_all_framebuffer_states(rscreen);
-
- /* TODO: re-set all sampler views and images, but how? */
}
static boolean r600_texture_get_handle(struct pipe_screen* screen,