diff options
author | Michal Wajdeczko <Michal.Wajdeczko@intel.com> | 2008-03-21 13:43:44 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2008-03-21 14:19:30 -0700 |
commit | 6c1a98e97affb2163e776551eb3a9e669ff99bbf (patch) | |
tree | 4ca3e6263b9f83d4dc807ab6d1cbb51a7eab339f /src | |
parent | 5f10438f2d9c739964cf53f04fee3190991325a1 (diff) |
[965] Fix negating of unsigned value in emit_wpos_xy.
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_wm_emit.c | 2 |
1 files changed, 1 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 83a0d12d90..0000edda84 100644 --- a/src/mesa/drivers/dri/i965/brw_wm_emit.c +++ b/src/mesa/drivers/dri/i965/brw_wm_emit.c @@ -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) { |