summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/unichrome
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2005-01-13 14:57:34 +0000
committerKeith Whitwell <[email protected]>2005-01-13 14:57:34 +0000
commita0371b0b3cdf3901985215d98e265b1a2131455a (patch)
treec7ffb27b70b24005a8b0d75b3490d9b3a6db85db /src/mesa/drivers/dri/unichrome
parentd9af44f358653db808597a838804fbc2dfddbeb6 (diff)
Simplify viaChooseVertexState slightly.
Diffstat (limited to 'src/mesa/drivers/dri/unichrome')
-rw-r--r--src/mesa/drivers/dri/unichrome/via_tris.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/mesa/drivers/dri/unichrome/via_tris.c b/src/mesa/drivers/dri/unichrome/via_tris.c
index 2f405452d74..dd00371e79b 100644
--- a/src/mesa/drivers/dri/unichrome/via_tris.c
+++ b/src/mesa/drivers/dri/unichrome/via_tris.c
@@ -744,11 +744,7 @@ static void viaChooseVertexState( GLcontext *ctx )
}
if (index & _TNL_BIT_TEX(1)) {
- if (!(index & _TNL_BIT_TEX(0))) {
- EMIT_ATTR( _TNL_ATTRIB_TEX1, EMIT_2F, VIA_EMIT_TEX1, (HC_HVPMSK_S | HC_HVPMSK_T) );
- } else {
- EMIT_ATTR( _TNL_ATTRIB_TEX1, EMIT_2F, VIA_EMIT_TEX1, 0 );
- }
+ EMIT_ATTR( _TNL_ATTRIB_TEX1, EMIT_2F, VIA_EMIT_TEX1, (HC_HVPMSK_S | HC_HVPMSK_T) );
}
if (setupIndex != vmesa->setupIndex) {