This website works better with JavaScript.
Home
Explore
Help
Sign In
brkho
/
mesa
Watch
1
Star
0
Fork
0
Code
Releases
562
Wiki
Activity
Browse Source
[965] Fix negating of unsigned value in emit_wpos_xy.
tags/mesa_7_1_rc1
Michal Wajdeczko
17 years ago
parent
5f10438f2d
commit
6c1a98e97a
1 changed files
with
1 additions
and
1 deletions
Split View
Show Diff Stats
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) {
Write
Preview
Loading…
Cancel
Save