mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 11:00:11 +01:00
Add #ifs.
This commit is contained in:
parent
b23350700e
commit
478b5692de
1 changed files with 4 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue