summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorStéphane Marchesin <[email protected]>2011-07-06 14:10:51 -0700
committerStéphane Marchesin <[email protected]>2011-07-06 14:18:24 -0700
commit31484b068d4d2842593498c75ec831dfa75af14e (patch)
tree99f4c87c73a049ed995b5ce03814ac0a7da2c5cc /src/gallium
parentb786db06540472beda9cedd18937d6e12855b3eb (diff)
i915g: Fix optimize so that it actually gets used.
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/i915/i915_fpc_optimize.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/i915/i915_fpc_optimize.c b/src/gallium/drivers/i915/i915_fpc_optimize.c
index 738468d8ff8..aee9dbde357 100644
--- a/src/gallium/drivers/i915/i915_fpc_optimize.c
+++ b/src/gallium/drivers/i915/i915_fpc_optimize.c
@@ -68,7 +68,7 @@ static boolean is_unswizzled(struct i915_full_src_register* r,
return FALSE;
if (sw && r->Register.SwizzleW != TGSI_SWIZZLE_W)
return FALSE;
- return FALSE;
+ return TRUE;
}
/*