pvr: Fix PPP_SCREEN sizes
The `- 1` was accidentally removed.
Fixes: aae23fe68d
("pvr: HWRT creation simplifications.")
Reported-by: Frank Binns <frank.binns@imgtec.com>
Signed-off-by: Karmjit Mahil <Karmjit.Mahil@imgtec.com>
Reviewed-by: Frank Binns <frank.binns@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25584>
This commit is contained in:
@@ -299,8 +299,8 @@ static uint32_t pvr_rogue_get_ppp_screen_val(uint32_t width, uint32_t height)
|
|||||||
uint32_t val;
|
uint32_t val;
|
||||||
|
|
||||||
pvr_csb_pack (&val, CR_PPP_SCREEN, state) {
|
pvr_csb_pack (&val, CR_PPP_SCREEN, state) {
|
||||||
state.pixxmax = width;
|
state.pixxmax = width - 1;
|
||||||
state.pixymax = height;
|
state.pixymax = height - 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
return val;
|
return val;
|
||||||
|
Reference in New Issue
Block a user