From: Axel Davy Date: Thu, 19 Feb 2015 21:28:37 +0000 (+0100) Subject: st/nine: util_gen_mipmap doesn't need we reset states. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=24eca6a30dea4cde0b0528b85e83d45a6430762e;p=mesa.git st/nine: util_gen_mipmap doesn't need we reset states. util_gen_mipmap uses pipe->blit, and thus doesn't need we restore all states after using it. Signed-off-by: Axel Davy --- diff --git a/src/gallium/state_trackers/nine/basetexture9.c b/src/gallium/state_trackers/nine/basetexture9.c index c9e82f38bab..7315e787390 100644 --- a/src/gallium/state_trackers/nine/basetexture9.c +++ b/src/gallium/state_trackers/nine/basetexture9.c @@ -404,8 +404,6 @@ NineBaseTexture9_GenerateMipSubLevels( struct NineBaseTexture9 *This ) first_layer, last_layer, filter); This->dirty_mip = FALSE; - - NineDevice9_RestoreNonCSOState(This->base.base.device, ~0x3); } HRESULT