lavapipe: refactor/consolidate GPL shader copying
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Fri, 7 Apr 2023 18:43:40 +0000 (14:43 -0400)
committerMarge Bot <emma+marge@anholt.net>
Mon, 10 Apr 2023 21:35:57 +0000 (21:35 +0000)
commitd87756923df47c5bb3349d0b809ead21fb58416e
tree67874de12c738ec0fe0cec5819f3fd33de582af7
parente33fda373253fa28afec8387d20b243ed8c2dbbb
lavapipe: refactor/consolidate GPL shader copying

this is easier to read/modify

also add asserts for members that should be null

Reviewed-by: Brian Paul <brianp@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22352>
src/gallium/frontends/lavapipe/lvp_pipeline.c