anv: don't use default pipeline cache for hits for VK_EXT_pipeline_creation_feedback
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Wed, 10 Apr 2019 17:28:20 +0000 (18:28 +0100)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Wed, 10 Apr 2019 17:45:04 +0000 (18:45 +0100)
commit3053d5a4f2fd6f81a6fb8d398afeaca91c7692e8
treedac3dd9faaf95af58510863bc236baf2506a9f09
parent53f715fafb9af1043931b559647f400bd2cbd5e2
anv: don't use default pipeline cache for hits for VK_EXT_pipeline_creation_feedback

If the user didn't provide a pipeline cache and we're using the
default internal pipeline cache, then we shouldn't consider a cache
hit for VK_EXT_pipeline_creation_feedback as the application did not
provide a cache.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: 6601e5d6fc68cd ("anv: implement VK_EXT_pipeline_creation_feedback")
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/vulkan/anv_pipeline_cache.c