gallium/radeon: rename r600_texture_disable_cmask -> discard_cmask

because it doesn't decompress

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
This commit is contained in:
Marek Olšák 2016-04-28 19:44:42 +02:00
parent fb9fe352ea
commit c85d0c17d9
1 changed files with 2 additions and 2 deletions

View File

@ -268,7 +268,7 @@ static void r600_eliminate_fast_color_clear(struct r600_common_screen *rscreen,
pipe_mutex_unlock(rscreen->aux_context_lock); 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) struct r600_texture *rtex)
{ {
if (!rtex->cmask.size) 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 /* Disable CMASK if flush_resource isn't going
* to be called. * to be called.
*/ */
r600_texture_disable_cmask(rscreen, rtex); r600_texture_discard_cmask(rscreen, rtex);
update_metadata = true; update_metadata = true;
} }