Home
last modified time | relevance | path

Searched refs:driver_cache_blob (Results 1 – 6 of 6) sorted by relevance

/external/mesa3d/src/mesa/state_tracker/
Dst_shader_cache.c54 prog->driver_cache_blob = ralloc_size(NULL, blob->size); in write_tgsi_to_cache()
55 memcpy(prog->driver_cache_blob, blob->data, blob->size); in write_tgsi_to_cache()
161 uint8_t *buffer = (uint8_t *) prog->driver_cache_blob; in st_deserialise_tgsi_program()
310 ralloc_free(glprog->driver_cache_blob); in st_load_tgsi_from_disk_cache()
311 glprog->driver_cache_blob = NULL; in st_load_tgsi_from_disk_cache()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_program.c836 prog->driver_cache_blob = ralloc_size(NULL, writer.size); in brw_program_serialize_nir()
837 memcpy(prog->driver_cache_blob, writer.data, writer.size); in brw_program_serialize_nir()
847 assert(prog->driver_cache_blob && prog->driver_cache_blob_size > 0); in brw_program_deserialize_nir()
851 blob_reader_init(&reader, prog->driver_cache_blob, in brw_program_deserialize_nir()
856 if (prog->driver_cache_blob) { in brw_program_deserialize_nir()
857 ralloc_free(prog->driver_cache_blob); in brw_program_deserialize_nir()
858 prog->driver_cache_blob = NULL; in brw_program_deserialize_nir()
/external/mesa3d/src/mesa/main/
Dprogram_binary.c175 serialize[stage] = shader && shader->Program->driver_cache_blob == NULL; in write_program_payload()
187 ralloc_free(prog->driver_cache_blob); in write_program_payload()
188 prog->driver_cache_blob = NULL; in write_program_payload()
Dmtypes.h2097 void *driver_cache_blob; member
/external/mesa3d/src/mesa/program/
Dprogram.c283 if (prog->driver_cache_blob) { in _mesa_delete_program()
284 ralloc_free(prog->driver_cache_blob); in _mesa_delete_program()
/external/mesa3d/src/compiler/glsl/
Dserialize.cpp1046 assert((glprog->driver_cache_blob == NULL) == in write_shader_metadata()
1050 blob_write_bytes(metadata, glprog->driver_cache_blob, in write_shader_metadata()
1113 glprog->driver_cache_blob = in read_shader_metadata()
1115 blob_copy_bytes(metadata, glprog->driver_cache_blob, in read_shader_metadata()