diff options
author | michal <michal@michal-laptop.(none)> | 2007-10-27 14:42:17 +0100 |
---|---|---|
committer | michal <michal@michal-laptop.(none)> | 2007-10-27 19:04:19 +0100 |
commit | 478b5692de2d9be0ff96b5a61a79f18c8ff64bb6 (patch) | |
tree | 0a2b3fd9a101e7fc9276ab011ba4135e97a85505 /src/mesa/pipe/softpipe/sp_quad_fs.c | |
parent | b23350700e476e397fefefa45f77d2a5a33c111a (diff) |
Add #ifs.
Diffstat (limited to 'src/mesa/pipe/softpipe/sp_quad_fs.c')
-rw-r--r-- | src/mesa/pipe/softpipe/sp_quad_fs.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mesa/pipe/softpipe/sp_quad_fs.c b/src/mesa/pipe/softpipe/sp_quad_fs.c index f079ab9583..1ff4406a4b 100644 --- a/src/mesa/pipe/softpipe/sp_quad_fs.c +++ b/src/mesa/pipe/softpipe/sp_quad_fs.c @@ -102,6 +102,7 @@ shade_quad( machine->Inputs[0].xyzw[1].f[3] = fy + 1.0f; /* run shader */ +#if defined(__i386__) || defined(__386__) /* XXX: Generated code effectively unusable until it handles quad->mask */ if( !quad->mask ) { codegen_function func = (codegen_function) x86_get_func( &softpipe->fs->sse2_program ); @@ -112,7 +113,9 @@ shade_quad( machine->Temps, machine->InterpCoefs ); } - else { + else +#endif + { #ifdef MESA_LLVM /*ga_llvm_prog_exec(softpipe->fs->llvm_prog);*/ #endif |