From: Marek Olšák Date: Thu, 28 Apr 2016 17:44:42 +0000 (+0200) Subject: gallium/radeon: rename r600_texture_disable_cmask -> discard_cmask X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c85d0c17d98b012191c8b52dc7bc9fb77cce7656;p=mesa.git gallium/radeon: rename r600_texture_disable_cmask -> discard_cmask because it doesn't decompress Reviewed-by: Alex Deucher Reviewed-by: Nicolai Hähnle --- 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; }