From c85d0c17d98b012191c8b52dc7bc9fb77cce7656 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Thu, 28 Apr 2016 19:44:42 +0200 Subject: [PATCH] gallium/radeon: rename r600_texture_disable_cmask -> discard_cmask MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit because it doesn't decompress Reviewed-by: Alex Deucher Reviewed-by: Nicolai Hähnle --- src/gallium/drivers/radeon/r600_texture.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gallium/drivers/radeon/r600_texture.c b/src/gallium/drivers/radeon/r600_texture.c index 5734a43cfd2..94597fc55cf 100644 --- a/src/gallium/drivers/radeon/r600_texture.c +++ b/src/gallium/drivers/radeon/r600_texture.c @@ -268,7 +268,7 @@ static void r600_eliminate_fast_color_clear(struct r600_common_screen *rscreen, pipe_mutex_unlock(rscreen->aux_context_lock); } -static void r600_texture_disable_cmask(struct r600_common_screen *rscreen, +static void r600_texture_discard_cmask(struct r600_common_screen *rscreen, struct r600_texture *rtex) { if (!rtex->cmask.size) @@ -352,7 +352,7 @@ static boolean r600_texture_get_handle(struct pipe_screen* screen, /* Disable CMASK if flush_resource isn't going * to be called. */ - r600_texture_disable_cmask(rscreen, rtex); + r600_texture_discard_cmask(rscreen, rtex); update_metadata = true; } -- 2.30.2