Previously the mesa core code would not call to serialize the
driver_cache_blob if it existed. We will update it to always call to
serialize the driver_cache_blob meaning we should avoid re-serializing
it under mesa/state_tracker.
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
st_serialise_ir_program(struct gl_context *ctx, struct gl_program *prog,
bool nir)
{
+ if (prog->driver_cache_blob)
+ return;
+
struct blob blob;
blob_init(&blob);