llvmpipe: add infrastructure for disk cache support
authorDave Airlie <airlied@redhat.com>
Tue, 21 Apr 2020 03:14:20 +0000 (13:14 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 10 Jun 2020 20:05:40 +0000 (06:05 +1000)
commit6c0c61cb48e87d9b0fc545cf30016d3947a47b6a
treee83134dec916705945a19ca54909c29c44640a3c
parent4962d3e107333a3de8efbed49f32a4ccb2861eec
llvmpipe: add infrastructure for disk cache support

This hooks up the gallium API and adds the APIs needed
for shader stages to search and add things to the cache.

It also adds cache stats debug printing.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5049>
.gitlab-ci/piglit/quick_gl.txt
.gitlab-ci/piglit/quick_shader.txt
src/gallium/drivers/llvmpipe/lp_debug.h
src/gallium/drivers/llvmpipe/lp_screen.c
src/gallium/drivers/llvmpipe/lp_screen.h