draw: add disk caching for draw shaders
authorDave Airlie <airlied@redhat.com>
Wed, 13 May 2020 03:37:39 +0000 (13:37 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 10 Jun 2020 20:05:41 +0000 (06:05 +1000)
commit978285f69a4ac9a17afbcdac5f36eebab4f14269
tree1e90ad6beb6215a17179ed3e94dc85c8262024ae
parentdb82faff71249f6c732b6dc09ad4800f33f25ae9
draw: add disk caching for draw shaders

This adds the cache search/insert and compile skipping for cached
objects to the VS/GS/TES/TCS stages in draw.

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