aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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;
}
/*