gallium/radeon: rename r600_texture_disable_cmask -> discard_cmask
authorMarek Olšák <marek.olsak@amd.com>
Thu, 28 Apr 2016 17:44:42 +0000 (19:44 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 10 May 2016 15:20:09 +0000 (17:20 +0200)
because it doesn't decompress

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeon/r600_texture.c

index 5734a43cfd2935952f4a57d0116fc4e93497d371..94597fc55cf6d655aaf3184f09f453b975e22d7d 100644 (file)
@@ -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;
                }