Module: Mesa Branch: master Commit: 1df795f95868998c4f72d11a8dc394e0615ac417 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1df795f95868998c4f72d11a8dc394e0615ac417
Author: Zhenyu Wang <zhen...@linux.intel.com> Date: Tue Jan 4 13:57:16 2011 +0800 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. --- src/mesa/drivers/dri/i965/brw_wm_emit.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/src/mesa/drivers/dri/i965/brw_wm_emit.c b/src/mesa/drivers/dri/i965/brw_wm_emit.c index 56725c0..2336e27 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); /* ? */ _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-commit