draw: add disk cache callbacks for draw shaders
authorDave Airlie <airlied@redhat.com>
Wed, 13 May 2020 03:36:55 +0000 (13:36 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 10 Jun 2020 20:05:41 +0000 (06:05 +1000)
commite07e5137b00989c3f2ebd1caee004c6e0cdde25c
tree8ea583f618e027080c34fd8793541467683c306e
parentc2864081e1436634988fc647e0c58c6272282544
draw: add disk cache callbacks for draw shaders

This provides a set of hooks from the driver that draw can
use to access the disk cache for the draw shaders.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5049>
src/gallium/auxiliary/draw/draw_context.c
src/gallium/auxiliary/draw/draw_context.h
src/gallium/auxiliary/draw/draw_private.h