mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-12 18:00:29 +01:00
[i965] fix wpos height 1 pixel higher
This commit is contained in:
parent
98e13fecd0
commit
b0f681b458
2 changed files with 2 additions and 2 deletions
|
|
@ -145,7 +145,7 @@ static void emit_wpos_xy(struct brw_wm_compile *c,
|
|||
brw_ADD(p,
|
||||
dst[1],
|
||||
negate(retype(arg0[1], BRW_REGISTER_TYPE_W)),
|
||||
brw_imm_d(c->key.origin_y + c->key.drawable_height));
|
||||
brw_imm_d(c->key.origin_y + c->key.drawable_height - 1));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -986,7 +986,7 @@ static void emit_wpos_xy(struct brw_wm_compile *c,
|
|||
brw_ADD(p,
|
||||
dst[1],
|
||||
negate(retype(src0[1], BRW_REGISTER_TYPE_W)),
|
||||
brw_imm_d(c->key.origin_y + c->key.drawable_height));
|
||||
brw_imm_d(c->key.origin_y + c->key.drawable_height - 1));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue