zink: only update gfx pipeline cache after creating a real pipeline
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Wed, 1 Sep 2021 17:58:31 +0000 (13:58 -0400)
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Thu, 16 Sep 2021 03:52:32 +0000 (23:52 -0400)
commite515d9791e4287123cc495404472b19a8e879e47
tree02791a0d5ccb6dd1c0e39aa154ad3df3c1b38b04
parent7438d670dd839cf0c1ce256a958f1489ac6bd42b
zink: only update gfx pipeline cache after creating a real pipeline

async pipelines may not require updates here

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12842>
src/gallium/drivers/zink/zink_pipeline.c
src/gallium/drivers/zink/zink_program.c