i965: use uncompressed instruction to ensure only
authorXiang, Haihao <haihao.xiang@intel.com>
Fri, 30 Nov 2007 03:50:08 +0000 (11:50 +0800)
committerXiang, Haihao <haihao.xiang@intel.com>
Fri, 30 Nov 2007 03:50:08 +0000 (11:50 +0800)
Pixel Mask Copy is modified as the pixel shader thread
turns off pixels based on kill instructions.

src/mesa/drivers/dri/i965/brw_wm_emit.c

index 1f7158f7a78f6af54e1d0b7d55f58323624cf40e..6bafa44b82bc8d50d0a77bb3bfef4e7b725570f3 100644 (file)
@@ -810,6 +810,7 @@ static void emit_kil( struct brw_wm_compile *c,
       brw_push_insn_state(p);
       brw_CMP(p, brw_null_reg(), BRW_CONDITIONAL_GE, arg0[i], brw_imm_f(0));   
       brw_set_predicate_control_flag_value(p, 0xff);
+      brw_set_compression_control(p, BRW_COMPRESSION_NONE);
       brw_AND(p, r0uw, brw_flag_reg(), r0uw);
       brw_pop_insn_state(p);
    }