i965/fs: Brown bag fix.
authorMatt Turner <mattst88@gmail.com>
Fri, 5 Sep 2014 17:29:38 +0000 (10:29 -0700)
committerMatt Turner <mattst88@gmail.com>
Fri, 5 Sep 2014 17:29:38 +0000 (10:29 -0700)
src/mesa/drivers/dri/i965/brw_vec4.cpp

index 3ace1bdf5f578735f1f1744d933b457b0451fc6d..cda097f10c39da0a03ac9708dc8c298cbb05f160 100644 (file)
@@ -943,7 +943,7 @@ vec4_instruction::can_reswizzle(int dst_writemask,
    if (dst.writemask & ~swizzle_mask)
       return false;
 
-   if (inst->mlen > 0)
+   if (mlen > 0)
       return false;
 
    return true;