lavapipe: copy fragment shader when merging GPL pipelines
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Thu, 6 Apr 2023 23:08:06 +0000 (19:08 -0400)
committerMarge Bot <emma+marge@anholt.net>
Mon, 10 Apr 2023 21:35:57 +0000 (21:35 +0000)
commite33fda373253fa28afec8387d20b243ed8c2dbbb
treec4af6ea54f650dc4c533d7a7cbb29b623457cafb
parent14be6b084e7321a6a88bf7d17caf120037b2552d
lavapipe: copy fragment shader when merging GPL pipelines

this otherwise loses access data and causes flakiness with atomic ops

Fixes: 6e5fe71599b ("lavapipe: split out shader struct members into their own struct")

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