mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 05:08:08 +02:00
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:
parent
2a55553be3
commit
c510dd22a9
1 changed files with 3 additions and 0 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue