zink: add a driver workaround to disable background compiles
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Thu, 20 Apr 2023 19:49:00 +0000 (15:49 -0400)
committerMarge Bot <emma+marge@anholt.net>
Mon, 24 Apr 2023 15:37:30 +0000 (15:37 +0000)
commit905264f27dd94971542a38ca603cc57e3e3a183b
tree5ce9145c00a0cc3339e6df19084bbe2d530abc02
parentb346c019d529200404b211b2024a28c41eb0cbf9
zink: add a driver workaround to disable background compiles

it's stupid to do optimized background compiles if the driver is going
to create the exact same pipeline, so add a workaround to disable
this behavior

should improve ci runtimes on lavapipe by some amount

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22613>
src/gallium/drivers/zink/zink_program.c
src/gallium/drivers/zink/zink_screen.c
src/gallium/drivers/zink/zink_types.h