From 00e6899ae56e362e108a72603d6b901a22c3e280 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Thu, 2 Jun 2016 23:24:20 +0200 Subject: [PATCH] gallium/radeon: don't re-set BO metadata after CMASK deallocation MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit CMASK has no effect on metadata, because it's not sharable. Reviewed-by: Nicolai Hähnle --- src/gallium/drivers/radeon/r600_texture.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/gallium/drivers/radeon/r600_texture.c b/src/gallium/drivers/radeon/r600_texture.c index bf6cfe8e867..71758c42093 100644 --- a/src/gallium/drivers/radeon/r600_texture.c +++ b/src/gallium/drivers/radeon/r600_texture.c @@ -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. */ -- 2.30.2