projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b233507
)
Add #ifs.
author
michal
<michal@michal-laptop.(none)>
Sat, 27 Oct 2007 13:42:17 +0000
(14:42 +0100)
committer
michal
<michal@michal-laptop.(none)>
Sat, 27 Oct 2007 18:04:19 +0000
(19:04 +0100)
src/mesa/pipe/softpipe/sp_quad_fs.c
patch
|
blob
|
history
diff --git
a/src/mesa/pipe/softpipe/sp_quad_fs.c
b/src/mesa/pipe/softpipe/sp_quad_fs.c
index f079ab9583bf16c0e7060c16b80fe1fb9d9633df..1ff4406a4b2be5c9aa196f422c53b27e94957de6 100644
(file)
--- 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