zink: create a VkPipelineCache object on the screen and use it
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Tue, 6 Oct 2020 14:13:58 +0000 (10:13 -0400)
committerMarge Bot <eric+marge@anholt.net>
Wed, 17 Feb 2021 02:59:52 +0000 (02:59 +0000)
commiteb3cb170fc22dbab7399ff7e28ee77bb3530d7ff
tree3ede8b0e054ee09fcd3d4f8e1553685414cb5ae9
parentde6ed185841fc1e32e3ff07f955cbed2a406994d
zink: create a VkPipelineCache object on the screen and use it

this enables reuse of shaders across pipelines

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