tgsi: partially unbreak sse fragment shaders. more to do.

This commit is contained in:
Keith Whitwell 2008-02-14 12:14:46 +00:00
parent a856b399e6
commit f3f7ff2573

View file

@ -2169,14 +2169,6 @@ emit_declaration(
last = decl->u.DeclarationRange.Last;
mask = decl->Declaration.UsageMask;
/* Do not touch WPOS.xy */
if( first == 0 ) {
mask &= ~TGSI_WRITEMASK_XY;
if( mask == TGSI_WRITEMASK_NONE ) {
first++;
}
}
for( i = first; i <= last; i++ ) {
for( j = 0; j < NUM_CHANNELS; j++ ) {
if( mask & (1 << j) ) {