summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-09-19 10:42:21 -0600
committerBrian Paul <[email protected]>2008-09-19 10:42:21 -0600
commitde0a6dc04a5b508472cc0cce4481ac3bb95fda3b (patch)
tree28b54fcc6e3339d7ac352068108fba9b2ab87894 /src
parent44d5e607c7a8794007a29a5e2399f98615ec8def (diff)
cell: the test for CELL_DEBUG_FRAGMENT_OP_FALLBACK in cmd_state_fragment_ops() was inverted
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/cell/spu/spu_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/cell/spu/spu_main.c b/src/gallium/drivers/cell/spu/spu_main.c
index da2cb089722..d99dd12d2a0 100644
--- a/src/gallium/drivers/cell/spu/spu_main.c
+++ b/src/gallium/drivers/cell/spu/spu_main.c
@@ -267,7 +267,7 @@ cmd_state_fragment_ops(const struct cell_command_fragment_ops *fops)
* final code we'll always use codegen and won't even provide the
* raw state records that the fallback code requires.
*/
- if (spu.init.debug_flags & CELL_DEBUG_FRAGMENT_OP_FALLBACK) {
+ if ((spu.init.debug_flags & CELL_DEBUG_FRAGMENT_OP_FALLBACK) == 0) {
spu.fragment_ops = (spu_fragment_ops_func) spu.fragment_ops_code;
}
/* otherwise, the default fallback code remains in place */