From: Xiang, Haihao Date: Fri, 30 Nov 2007 03:50:08 +0000 (+0800) Subject: i965: use uncompressed instruction to ensure only X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6bc1d3856712f5298d9ecd55807025ebd5344660;p=mesa.git i965: use uncompressed instruction to ensure only Pixel Mask Copy is modified as the pixel shader thread turns off pixels based on kill instructions. --- diff --git a/src/mesa/drivers/dri/i965/brw_wm_emit.c b/src/mesa/drivers/dri/i965/brw_wm_emit.c index 1f7158f7a78..6bafa44b82b 100644 --- a/src/mesa/drivers/dri/i965/brw_wm_emit.c +++ b/src/mesa/drivers/dri/i965/brw_wm_emit.c @@ -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); }