llvmpipe/cs: add shader caching
authorDave Airlie <airlied@redhat.com>
Wed, 13 May 2020 00:49:51 +0000 (10:49 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 10 Jun 2020 20:05:40 +0000 (06:05 +1000)
commitc2864081e1436634988fc647e0c58c6272282544
treebc4d1040f904d8cf1e89fc63c3f4c629b601a7c7
parentf0d91c9af3b054a94f45fbdc27265aac213c0db4
llvmpipe/cs: add shader caching

As for fragment shader, skip compilation step if we have the shaders

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