softpipe: Refactor pipe_shader_state setup.
authorEric Anholt <eric@anholt.net>
Wed, 1 Jan 2020 00:31:54 +0000 (16:31 -0800)
committerMarge Bot <eric+marge@anholt.net>
Thu, 23 Jul 2020 00:24:26 +0000 (00:24 +0000)
commit86cfb62b87edfea90959a7e6933087fe4467dfa2
treea1ff85fb29935def4688d315d62f4309578f23bb
parente67da8d25fa1244b81963d2728162df08ffed135
softpipe: Refactor pipe_shader_state setup.

We had repeated code that I want to repeatedly change for adding
nir-to-tgsi.

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6018>
src/gallium/drivers/softpipe/sp_state_shader.c