st/mesa: Skip serializing driver_cache_blob if it exists
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>
This commit is contained in:
@@ -74,6 +74,9 @@ static void
|
||||
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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user