mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 07:18:17 +02:00
Simplify viaChooseVertexState slightly.
This commit is contained in:
parent
d9af44f358
commit
a0371b0b3c
1 changed files with 1 additions and 5 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue