OSDN Git Service
(root)
/
android-x86
/
external-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
83a0d12
..
0000edd
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) {