freedreno: Move the ir3 linked shader cache to the context.
authorEric Anholt <eric@anholt.net>
Thu, 18 Mar 2021 19:01:05 +0000 (12:01 -0700)
committerMarge Bot <eric+marge@anholt.net>
Tue, 23 Mar 2021 19:55:38 +0000 (19:55 +0000)
commit6941cd5c9860dc2eb67023e9307abe4ecd80b990
tree8b367b09f6e0dda84060bd11fc78230347652dbc
parentcd1d8b437176e0cce1bd65f1aa4757b2930a6d34
freedreno: Move the ir3 linked shader cache to the context.

The other ir3 backends would love to have it to reduce lookups and to be
able to cache linked-program state.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9698>
src/gallium/drivers/freedreno/a6xx/fd6_context.c
src/gallium/drivers/freedreno/a6xx/fd6_context.h
src/gallium/drivers/freedreno/a6xx/fd6_emit.h
src/gallium/drivers/freedreno/a6xx/fd6_program.c
src/gallium/drivers/freedreno/freedreno_context.c
src/gallium/drivers/freedreno/freedreno_context.h
src/gallium/drivers/freedreno/ir3/ir3_cache.c
src/gallium/drivers/freedreno/ir3/ir3_gallium.c