[Mesa-dev] [PATCH 01/14] gallium/radeon: rename r600_texture_disable_cmask -> discard_cmask
Marek Olšák
maraeo at gmail.com
Wed May 4 23:43:30 UTC 2016
From: Marek Olšák <marek.olsak at amd.com>
because it doesn't decompress
---
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 67b2a34..6df013a 100644
--- a/src/gallium/drivers/radeon/r600_texture.c
+++ b/src/gallium/drivers/radeon/r600_texture.c
@@ -267,7 +267,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)
@@ -351,7 +351,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.7.4
More information about the mesa-dev
mailing list