mesa: Always call ProgramBinarySerializeDriverBlob
authorJordan Justen <jordan.l.justen@intel.com>
Thu, 19 Apr 2018 22:39:40 +0000 (15:39 -0700)
committerJordan Justen <jordan.l.justen@intel.com>
Tue, 10 Jul 2018 06:02:32 +0000 (23:02 -0700)
commitcce3994dee83c8a8e01983b4801e8d73d64a3b06
tree46b936316cf1f9457ac8d6d7e3654880507a05b7
parent6497be42b7260b2279e41dcb05fcd6fc6551a061
mesa: Always call ProgramBinarySerializeDriverBlob

The driver may prefer to have a different blob for
ARB_get_program_binary compared to the version saved out for the disk
shader cache.

Since they both use the driver_cache_blob field, we need to always
give the driver the opportunity to fill in the driver_cache_blob when
saving the program binary.

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/mesa/main/program_binary.c