summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/r600/r600_texstate.c
diff options
context:
space:
mode:
authorAlex Deucher <[email protected]>2009-08-22 18:02:03 -0400
committerAlex Deucher <[email protected]>2009-08-22 18:03:26 -0400
commitbf6d0ae5980a48b24ace49030eca221dcbec163f (patch)
treec5f84013536c5f088b6399ee1b7b22bdabfb5088 /src/mesa/drivers/dri/r600/r600_texstate.c
parent08e91e0315622d1f54ffc1bfb34024a2bf510aec (diff)
r600: make state emit more fine grained
Gives a nice speed boost in most apps since we only emit what state we need.
Diffstat (limited to 'src/mesa/drivers/dri/r600/r600_texstate.c')
-rw-r--r--src/mesa/drivers/dri/r600/r600_texstate.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/r600/r600_texstate.c b/src/mesa/drivers/dri/r600/r600_texstate.c
index 7486d737605..9f1bf45246f 100644
--- a/src/mesa/drivers/dri/r600/r600_texstate.c
+++ b/src/mesa/drivers/dri/r600/r600_texstate.c
@@ -61,6 +61,8 @@ void r600UpdateTextureState(GLcontext * ctx)
GLuint unit;
R600_STATECHANGE(context, tx);
+ R600_STATECHANGE(context, tx_smplr);
+ R600_STATECHANGE(context, tx_brdr_clr);
for (unit = 0; unit < R700_MAX_TEXTURE_UNITS; unit++) {
texUnit = &ctx->Texture.Unit[unit];