lavapipe: create gfx gallium csos at pipeline bind
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Wed, 1 Feb 2023 15:46:13 +0000 (10:46 -0500)
committerMarge Bot <emma+marge@anholt.net>
Thu, 2 Feb 2023 04:49:42 +0000 (04:49 +0000)
commit408606af02b1a76f9d50ec6126ec9a4fb79bcf3d
tree0c8df53e48de6dfa9d92a3c6afc75ca6374e97d3
parent6f0303ba7674120443b3f8ce3e66019362d2be85
lavapipe: create gfx gallium csos at pipeline bind

this should minimize pipeline creation time and make fast-linking "fast"

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21051>
src/gallium/frontends/lavapipe/lvp_execute.c
src/gallium/frontends/lavapipe/lvp_pipeline.c