From: Keith Whitwell Date: Thu, 14 Feb 2008 12:14:46 +0000 (+0000) Subject: tgsi: partially unbreak sse fragment shaders. more to do. X-Git-Tag: 062012170305~17580^2~390^2~2622 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f3f7ff257370ff72dbc7a0ba05ed0a99ce67ebac;p=profile%2Fivi%2Fmesa.git tgsi: partially unbreak sse fragment shaders. more to do. --- diff --git a/src/mesa/pipe/tgsi/exec/tgsi_sse2.c b/src/mesa/pipe/tgsi/exec/tgsi_sse2.c index 1e56e4a..1d9e9a1 100755 --- a/src/mesa/pipe/tgsi/exec/tgsi_sse2.c +++ b/src/mesa/pipe/tgsi/exec/tgsi_sse2.c @@ -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) ) {