anv/pipeline_cache: fix incorrect guards for NIR cache
authorIago Toral Quiroga <itoral@igalia.com>
Fri, 11 Jan 2019 10:41:01 +0000 (11:41 +0100)
committerIago Toral Quiroga <itoral@igalia.com>
Fri, 11 Jan 2019 11:45:18 +0000 (12:45 +0100)
commit4b1e436bc95058e67db668e2874892648db3ba69
tree74c0226ecab998f8c443d07d3d28c7dd41e79bbb
parentad9832d17b5b42f23081fcfabfe0ea4b1dea00df
anv/pipeline_cache: fix incorrect guards for NIR cache

Fixes: f6aa9f718516 'anv/pipeline_cache: Add support for caching NIR'
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/intel/vulkan/anv_pipeline_cache.c