i965: don't use disk cache with SPIR-V shaders
authorAlejandro Piñeiro <apinheiro@igalia.com>
Wed, 27 Feb 2019 14:28:47 +0000 (15:28 +0100)
committerAlejandro Piñeiro <apinheiro@igalia.com>
Fri, 12 Jul 2019 21:42:41 +0000 (23:42 +0200)
commite4210b93e441c85bf8d54d0605294a97459bad8a
treeab1a32ce8d4a1e5f00c6cf232d53123d58e8cba7
parentbb3bbdfbbdb3eb1d4750ffcb2e6827a01872fdab
i965: don't use disk cache with SPIR-V shaders

Right now we don't support disk cache for SPIR-V shaders (from
ARB_gl_spirv), so let's avoid writing the program data to or reading
it from the disk if any in-use shaders use SPIR-V.

Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
src/mesa/drivers/dri/i965/brw_disk_cache.c