i915g: Fix optimize so that it actually gets used.
authorStéphane Marchesin <marcheu@chromium.org>
Wed, 6 Jul 2011 21:10:51 +0000 (14:10 -0700)
committerStéphane Marchesin <marcheu@chromium.org>
Wed, 6 Jul 2011 21:18:24 +0000 (14:18 -0700)
src/gallium/drivers/i915/i915_fpc_optimize.c

index 738468d8ff8342b5093a6add5b7007cd6c787175..aee9dbde3578b3ef37f9188d6ff49557c599c19a 100644 (file)
@@ -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;
 }
 
 /*