From: Marek Olšák Date: Thu, 2 Jun 2016 21:24:20 +0000 (+0200) Subject: gallium/radeon: don't re-set BO metadata after CMASK deallocation X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=00e6899ae56e362e108a72603d6b901a22c3e280;p=mesa.git gallium/radeon: don't re-set BO metadata after CMASK deallocation CMASK has no effect on metadata, because it's not sharable. Reviewed-by: Nicolai Hähnle --- 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. */