OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a7758c
)
st/nine: util_gen_mipmap doesn't need we reset states.
author
Axel Davy
<axel.davy@ens.fr>
Thu, 19 Feb 2015 21:28:37 +0000
(22:28 +0100)
committer
Axel Davy
<axel.davy@ens.fr>
Wed, 29 Apr 2015 06:28:11 +0000
(08:28 +0200)
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@ens.fr>
src/gallium/state_trackers/nine/basetexture9.c
patch
|
blob
|
history
diff --git
a/src/gallium/state_trackers/nine/basetexture9.c
b/src/gallium/state_trackers/nine/basetexture9.c
index
c9e82f3
..
7315e78
100644
(file)
--- 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