glsl/shader_cache: Save and restore serialized nir in gl_program
authorJordan Justen <jordan.l.justen@intel.com>
Fri, 13 Oct 2017 20:02:29 +0000 (13:02 -0700)
committerJordan Justen <jordan.l.justen@intel.com>
Wed, 1 Nov 2017 06:36:54 +0000 (23:36 -0700)
commit6b815e405dc87d13233bf2ddbf44a3ba0b2bd3ac
tree59f9d4f02bf62b1eee2134cefa372247f1a60a18
parent571bee96d5456bb62fad2aaf72d9119b24650c5a
glsl/shader_cache: Save and restore serialized nir in gl_program

v3:
 * Rename serialized_nir* to driver_cache_blob*. (Tim)

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/compiler/glsl/shader_cache.cpp