From 24eca6a30dea4cde0b0528b85e83d45a6430762e Mon Sep 17 00:00:00 2001 From: Axel Davy Date: Thu, 19 Feb 2015 22:28:37 +0100 Subject: [PATCH] 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 --- src/gallium/state_trackers/nine/basetexture9.c | 2 -- 1 file changed, 2 deletions(-) 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 -- 2.30.2