asahi: Fix off-by-one in viewport scissoring
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>
Fri, 28 May 2021 02:51:09 +0000 (22:51 -0400)
committerMarge Bot <eric+marge@anholt.net>
Tue, 1 Jun 2021 01:31:02 +0000 (01:31 +0000)
commitf5f759cff8a1b24336596974f1c5f1b4e02b726c
treeddc86f1d4af264f6a29f1ec8f228b7ff9ce76cd9
parent3dff0c30cf8519e1813ac299e7a71e3a5cc67116
asahi: Fix off-by-one in viewport scissoring

As discovered during the stream. Typo pointed out by someone in the Twitch chat.

Fixes: f285a1220ea ("asahi: Implement scissors and scissor to viewport")
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11086>
src/gallium/drivers/asahi/agx_state.c