gallium/radeon: don't re-set BO metadata after CMASK deallocation
authorMarek Olšák <marek.olsak@amd.com>
Thu, 2 Jun 2016 21:24:20 +0000 (23:24 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 6 Jun 2016 20:50:55 +0000 (22:50 +0200)
CMASK has no effect on metadata, because it's not sharable.

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

index bf6cfe8e8678f1ac8007ba3e807508d1ac3d6285..71758c42093870755265148f8bceca9cae3622ff 100644 (file)
@@ -510,7 +510,6 @@ static boolean r600_texture_get_handle(struct pipe_screen* screen,
                         * to be called.
                         */
                        r600_texture_discard_cmask(rscreen, rtex);
-                       update_metadata = true;
                }
 
                /* Set metadata. */