From c85d0c17d98b012191c8b52dc7bc9fb77cce7656 Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Thu, 28 Apr 2016 19:44:42 +0200 Subject: gallium/radeon: rename r600_texture_disable_cmask -> discard_cmask MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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(-) (limited to 'src/gallium/drivers/radeon') 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; } -- cgit v1.2.3