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:
Karmjit Mahil
2023-10-04 15:53:36 +01:00
committed by Marge Bot
parent df57840dd0
commit 8f59274e22

View File

@@ -299,8 +299,8 @@ static uint32_t pvr_rogue_get_ppp_screen_val(uint32_t width, uint32_t height)
uint32_t val;
pvr_csb_pack (&val, CR_PPP_SCREEN, state) {
state.pixxmax = width;
state.pixymax = height;
state.pixxmax = width - 1;
state.pixymax = height - 1;
}
return val;