asahi: Refuse to transfer out-of-bounds mip levels
authorAsahi Lina <lina@asahilina.net>
Fri, 9 Dec 2022 11:16:28 +0000 (20:16 +0900)
committerMarge Bot <emma+marge@anholt.net>
Sat, 4 Feb 2023 07:45:12 +0000 (07:45 +0000)
commita88aa3e8350ced14a4a3ae24af12447067ce55d3
treea9dfc79655d21ff24dce1ffba9386d2e9c400c3e
parent3706da1d1a493504f18d28ae9893e94eedf42f07
asahi: Refuse to transfer out-of-bounds mip levels

Fixes ail asserts on a pile of dEQP3 tests.

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