freedreno/a4xx: Switch to using ir3_cache for looking up our VS/FS
authorEric Anholt <eric@anholt.net>
Thu, 18 Mar 2021 20:25:45 +0000 (13:25 -0700)
committerMarge Bot <eric+marge@anholt.net>
Tue, 23 Mar 2021 19:55:38 +0000 (19:55 +0000)
commitce36e60b18b30a1496b308e8f2ce6bda57b8699b
tree860fda8a8be2ac2f1a487de4ebcb810f6480c505
parentb44d52f62bf2753a9a961632c685852d3179689d
freedreno/a4xx: Switch to using ir3_cache for looking up our VS/FS

Saves the lock/unlock to get the variants for VS/BS/FS programs, and gives
us a place we could hang future linked program state.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9698>
src/gallium/drivers/freedreno/a4xx/fd4_draw.c
src/gallium/drivers/freedreno/a4xx/fd4_emit.c
src/gallium/drivers/freedreno/a4xx/fd4_emit.h
src/gallium/drivers/freedreno/a4xx/fd4_gmem.c
src/gallium/drivers/freedreno/a4xx/fd4_program.c
src/gallium/drivers/freedreno/a4xx/fd4_program.h