Browse Source

[965] Fix negating of unsigned value in emit_wpos_xy.

tags/mesa_7_1_rc1
Michal Wajdeczko 17 years ago
parent
commit
6c1a98e97a
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/mesa/drivers/dri/i965/brw_wm_emit.c

+ 1
- 1
src/mesa/drivers/dri/i965/brw_wm_emit.c View File

@@ -137,7 +137,7 @@ static void emit_wpos_xy(struct brw_wm_compile *c,
brw_ADD(p,
dst[0],
retype(arg0[0], BRW_REGISTER_TYPE_W),
brw_imm_d(- c->key.origin_x));
brw_imm_d(0 - c->key.origin_x));
}

if (mask & WRITEMASK_Y) {

Loading…
Cancel
Save