summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/tgsi
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2008-02-14 12:14:46 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2008-02-14 12:14:46 +0000
commitf3f7ff257370ff72dbc7a0ba05ed0a99ce67ebac (patch)
treeb95e6e3623c13dbaf4158c08ccb1464dee01122a /src/mesa/pipe/tgsi
parenta856b399e6a46f2026006402bc6b9125bd23f9a9 (diff)
tgsi: partially unbreak sse fragment shaders. more to do.
Diffstat (limited to 'src/mesa/pipe/tgsi')
-rwxr-xr-xsrc/mesa/pipe/tgsi/exec/tgsi_sse2.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/mesa/pipe/tgsi/exec/tgsi_sse2.c b/src/mesa/pipe/tgsi/exec/tgsi_sse2.c
index 1e56e4afb6..1d9e9a14ce 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) ) {