diff options
author | michal <michal@michal-laptop.(none)> | 2007-10-27 18:43:49 +0100 |
---|---|---|
committer | michal <michal@michal-laptop.(none)> | 2007-10-27 19:04:19 +0100 |
commit | a846d7d0273e879371b69f1bbcb8a6698a24a903 (patch) | |
tree | 356367b614114b9329cb904308b91d3dbcac6d2f /src/mesa | |
parent | a1b4285c5cb03e52850751c2f74d131e2b7a00c8 (diff) |
Enable SSE path.
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/pipe/softpipe/sp_quad_fs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/pipe/softpipe/sp_quad_fs.c b/src/mesa/pipe/softpipe/sp_quad_fs.c index 701a68ec6ab..43c4d58ac65 100644 --- a/src/mesa/pipe/softpipe/sp_quad_fs.c +++ b/src/mesa/pipe/softpipe/sp_quad_fs.c @@ -103,8 +103,7 @@ shade_quad( /* run shader */ #if defined(__i386__) || defined(__386__) - /* XXX: Generated code effectively unusable until it handles quad->mask */ - if( !quad->mask && softpipe->use_sse ) { + if( softpipe->use_sse ) { codegen_function func = (codegen_function) x86_get_func( &softpipe->fs->sse2_program ); func( machine->Inputs, @@ -112,6 +111,7 @@ shade_quad( machine->Consts, machine->Temps, machine->InterpCoefs ); + quad->mask &= ~(machine->Temps[TGSI_EXEC_TEMP_KILMASK_I].xyzw[TGSI_EXEC_TEMP_KILMASK_C].u[0]); } else #endif |