projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f10438
)
[965] Fix negating of unsigned value in emit_wpos_xy.
author
Michal Wajdeczko
<Michal.Wajdeczko@intel.com>
Fri, 21 Mar 2008 20:43:44 +0000
(13:43 -0700)
committer
Eric Anholt
<eric@anholt.net>
Fri, 21 Mar 2008 21:19:30 +0000
(14:19 -0700)
src/mesa/drivers/dri/i965/brw_wm_emit.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_wm_emit.c
b/src/mesa/drivers/dri/i965/brw_wm_emit.c
index 83a0d12d9061625afc09795a9ef81806472296f8..0000edda8434b0be0c91d1b27deb9d2f74d4387f 100644
(file)
--- 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) {