[Mesa-dev] [PATCH 08/11] st/nine: util_gen_mipmap doesn't need we reset states.
Axel Davy
axel.davy at ens.fr
Fri Apr 24 13:11:23 PDT 2015
util_gen_mipmap uses pipe->blit, and thus doesn't need
we restore all states after using it.
Signed-off-by: Axel Davy <axel.davy at ens.fr>
---
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 c9e82f3..7315e78 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.1.0
More information about the mesa-dev
mailing list