Searched refs:driver_cache_blob (Results 1 – 5 of 5) sorted by relevance
58 prog->driver_cache_blob = ralloc_size(NULL, blob->size); in copy_blob_to_driver_cache_blob()59 memcpy(prog->driver_cache_blob, blob->data, blob->size); in copy_blob_to_driver_cache_blob()77 if (prog->driver_cache_blob) in st_serialise_nir_program()147 uint8_t *buffer = (uint8_t *) prog->driver_cache_blob; in st_deserialise_nir_program()157 assert(prog->driver_cache_blob && prog->driver_cache_blob_size > 0); in st_deserialise_nir_program()223 ralloc_free(glprog->driver_cache_blob); in st_load_nir_from_disk_cache()224 glprog->driver_cache_blob = NULL; in st_load_nir_from_disk_cache()
191 ralloc_free(prog->driver_cache_blob); in write_program_payload()192 prog->driver_cache_blob = NULL; in write_program_payload()
515 void *driver_cache_blob; member
273 if (prog->driver_cache_blob) { in _mesa_delete_program()274 ralloc_free(prog->driver_cache_blob); in _mesa_delete_program()
1137 assert((glprog->driver_cache_blob == NULL) == in write_shader_metadata()1141 blob_write_bytes(metadata, glprog->driver_cache_blob, in write_shader_metadata()1204 glprog->driver_cache_blob = in read_shader_metadata()1206 blob_copy_bytes(metadata, glprog->driver_cache_blob, in read_shader_metadata()