glsl/shader_cache: handle SPIR-V shaders
authorAlejandro Piñeiro <apinheiro@igalia.com>
Wed, 27 Feb 2019 14:29:15 +0000 (15:29 +0100)
committerAlejandro Piñeiro <apinheiro@igalia.com>
Fri, 12 Jul 2019 21:42:41 +0000 (23:42 +0200)
commitbb3bbdfbbdb3eb1d4750ffcb2e6827a01872fdab
tree5979559acd5124af4da1d5edbd96f589f8941105
parent637b168470190507c89eca8a7d0479103fe236ae
glsl/shader_cache: handle SPIR-V shaders

Right now we don't have cache support for SPIR-V shaders (from
ARB_gl_spirv). Right now they are properly skipped because they fall
on the ff shader code path (no key, no name), but it would be better
to update current comments, and add some guards.

Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
src/compiler/glsl/shader_cache.cpp