agx: Run opt_idiv_const after lowering texture
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>
Fri, 18 Aug 2023 23:05:36 +0000 (19:05 -0400)
committerMarge Bot <emma+marge@anholt.net>
Tue, 5 Sep 2023 18:50:34 +0000 (18:50 +0000)
commitfb6062626084f05b9d25fd250e3c5f4aa164983b
treed4f352b2f19393b36542bd115c9e3809a389617d
parent49951ef3cc2158b9a11ecf25314f6ec87a3fc5dc
agx: Run opt_idiv_const after lowering texture

Shaves 10 instructions off the cube map array lowering.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25052>
src/asahi/compiler/agx_compile.c