Revert "Revert "radv: fallback to an in-memory cache when no pipline cache is provided""
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Mon, 25 Sep 2017 03:47:25 +0000 (05:47 +0200)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Mon, 25 Sep 2017 13:36:19 +0000 (15:36 +0200)
commitbf0397b6f570754916b8e0253ac2b5f279b0a3b6
tree552b1ea765d8cc359f3ec13a3a3e5ec495662496
parentbb66af95a7e13f433466f612eded97b01e48b6fc
Revert "Revert "radv: fallback to an in-memory cache when no pipline cache is provided""

I tested this 10 times with
./deqp-vk --deqp-case=dEQP-VK.texture.filtering.3d.formats.r4g4b4a4*

and one full run of CTS, seems the issue is gone.

Also reduces CTS runtime by 30% or so.

Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/amd/vulkan/radv_pipeline.c
src/amd/vulkan/radv_pipeline_cache.c
src/amd/vulkan/radv_private.h