panfrost: Remove uncompiled_shader->active_variant
authorAlyssa Rosenzweig <alyssa@collabora.com>
Fri, 14 Oct 2022 19:44:48 +0000 (15:44 -0400)
committerMarge Bot <emma+marge@anholt.net>
Wed, 2 Nov 2022 16:52:11 +0000 (16:52 +0000)
commit7bc34fbe8441bf72e4549996b3bdf39bf3251b20
tree5992115e075250d5d85778f6de14389656b1a8e3
parent52b4181eedc05afaa707268f6168c2703d27c8f0
panfrost: Remove uncompiled_shader->active_variant

The active compiled shader (variant) is context state, it is inappropriate to
stash it on the uncompiled shader. Add compiled shader pointers to the context
and get rid of the active_variant mutation. Names from iris.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19363>
src/gallium/drivers/panfrost/pan_blit.c
src/gallium/drivers/panfrost/pan_cmdstream.c
src/gallium/drivers/panfrost/pan_context.c
src/gallium/drivers/panfrost/pan_context.h
src/gallium/drivers/panfrost/pan_job.c
src/gallium/drivers/panfrost/pan_shader.c