agx: Fix lod_mode shift
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>
Mon, 5 Jul 2021 03:25:36 +0000 (23:25 -0400)
committerMarge Bot <eric+marge@anholt.net>
Mon, 5 Jul 2021 20:56:04 +0000 (20:56 +0000)
commit4891e51bf37731cd1b9dcdf95be70a47c46fb572
treed74eb36d3289a1b0d1e8eecf01f974ebe32dcb17
parentedd30fa1bd1f430d2f3214f357daff0be7ea94e1
agx: Fix lod_mode shift

Was zero before so didn't notice the bug.

Fixes: 9f555388342 ("agx: Pack texture ops")
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11718>
src/asahi/compiler/agx_pack.c