projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b578814
)
mesa: Don't bother updating ff texture state if we have a fragment shader.
author
Eric Anholt
<eric@anholt.net>
Tue, 8 Jan 2013 17:56:24 +0000
(09:56 -0800)
committer
Eric Anholt
<eric@anholt.net>
Fri, 18 Jan 2013 21:03:41 +0000
(13:03 -0800)
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/main/texstate.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/texstate.c
b/src/mesa/main/texstate.c
index 3adea542f57b24620665e066df9445faa9a1bef9..a2541fc9f1c61223167ee9e1bea6a605aec84dbb 100644
(file)
--- a/
src/mesa/main/texstate.c
+++ b/
src/mesa/main/texstate.c
@@
-618,7
+618,8
@@
update_texture_state( struct gl_context *ctx )
if (enabledFragTargets)
enabledFragUnits |= (1 << unit);
- update_tex_combine(ctx, texUnit);
+ if (!fprog)
+ update_tex_combine(ctx, texUnit);
}