asahi: Fix off-by-one assert in agx_create_vertex_elements
authorAsahi Lina <lina@asahilina.net>
Fri, 9 Dec 2022 09:07:49 +0000 (18:07 +0900)
committerMarge Bot <emma+marge@anholt.net>
Sat, 17 Dec 2022 18:10:28 +0000 (18:10 +0000)
commit440601dead0ad4bb90e04181012d638b66f32c0e
tree2a6807fa720eddd5077a5c76a37d90d4a1ffcd41
parentd4270531c42ed935d3715670a115b277c31b3ae5
asahi: Fix off-by-one assert in agx_create_vertex_elements

Needed to fix plasma-systemmonitor.

Signed-off-by: Asahi Lina <lina@asahilina.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20365>
src/gallium/drivers/asahi/agx_state.c