glsl/cache: save and restore ExternalSamplersUsed
authorMarek Olšák <marek.olsak@amd.com>
Sat, 30 Jun 2018 04:57:08 +0000 (00:57 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Sat, 30 Jun 2018 05:04:16 +0000 (01:04 -0400)
commit99c6cae2278011309b7ca3d4735c7b341cbb4eef
treee5a0a0ff285f08c24901d214d46bcfae3ac763eb
parent463f849097193ad20e7622ddd740fd15b96f4277
glsl/cache: save and restore ExternalSamplersUsed

Shaders that need special code for external samplers were broken if
they were loaded from the cache.

Cc: 18.1 <mesa-stable@lists.freedesktop.org>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/compiler/glsl/serialize.cpp