From: Zhenyu Wang Date: Tue, 4 Jan 2011 05:57:16 +0000 (+0800) Subject: i965: Correct comment for gen6 fb write control message setting X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1df795f95868998c4f72d11a8dc394e0615ac417;p=mesa.git i965: Correct comment for gen6 fb write control message setting Remove incorrect headless comment for gen6 fb write message. Note current SIMD16 mode has already done right for control message. --- diff --git a/src/mesa/drivers/dri/i965/brw_wm_emit.c b/src/mesa/drivers/dri/i965/brw_wm_emit.c index 56725c0d471..2336e27c1ef 100644 --- a/src/mesa/drivers/dri/i965/brw_wm_emit.c +++ b/src/mesa/drivers/dri/i965/brw_wm_emit.c @@ -1333,9 +1333,11 @@ static void fire_fb_write( struct brw_wm_compile *c, dst = retype(vec8(brw_null_reg()), BRW_REGISTER_TYPE_UW); /* Pass through control information: + * + * Gen6 has done m1 mov in emit_fb_write() for current SIMD16 case. */ /* mov (8) m1.0<1>:ud r1.0<8;8,1>:ud { Align1 NoMask } */ - if (intel->gen < 6) /* gen6, use headerless for fb write */ + if (intel->gen < 6) { brw_push_insn_state(p); brw_set_mask_control(p, BRW_MASK_DISABLE); /* ? */