Searched refs:driver_cache_blob (Results 1 – 6 of 6) sorted by relevance
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_program_binary.c | 142 if (driver_blob_is_ready(prog->driver_cache_blob, in brw_program_serialize_nir() 146 if (prog->driver_cache_blob) in brw_program_serialize_nir() 147 ralloc_free(prog->driver_cache_blob); in brw_program_serialize_nir() 153 prog->driver_cache_blob = ralloc_size(NULL, writer.size); in brw_program_serialize_nir() 154 memcpy(prog->driver_cache_blob, writer.data, writer.size); in brw_program_serialize_nir() 196 if (!prog->driver_cache_blob) in brw_program_deserialize_driver_blob() 200 blob_reader_init(&reader, prog->driver_cache_blob, in brw_program_deserialize_driver_blob() 230 ralloc_free(prog->driver_cache_blob); in brw_program_deserialize_driver_blob() 231 prog->driver_cache_blob = NULL; in brw_program_deserialize_driver_blob() 283 if (driver_blob_is_ready(prog->driver_cache_blob, in brw_serialize_program_binary() [all …]
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_shader_cache.c | 59 prog->driver_cache_blob = ralloc_size(NULL, blob->size); in copy_blob_to_driver_cache_blob() 60 memcpy(prog->driver_cache_blob, blob->data, blob->size); in copy_blob_to_driver_cache_blob() 92 if (prog->driver_cache_blob) in st_serialise_ir_program() 180 uint8_t *buffer = (uint8_t *) prog->driver_cache_blob; in st_deserialise_ir_program() 185 assert(prog->driver_cache_blob && prog->driver_cache_blob_size > 0); in st_deserialise_ir_program() 260 ralloc_free(glprog->driver_cache_blob); in st_load_ir_from_disk_cache() 261 glprog->driver_cache_blob = NULL; in st_load_ir_from_disk_cache()
|
/external/mesa3d/src/mesa/main/ |
D | program_binary.c | 189 ralloc_free(prog->driver_cache_blob); in write_program_payload() 190 prog->driver_cache_blob = NULL; in write_program_payload()
|
D | mtypes.h | 2090 void *driver_cache_blob; member
|
/external/mesa3d/src/mesa/program/ |
D | program.c | 273 if (prog->driver_cache_blob) { in _mesa_delete_program() 274 ralloc_free(prog->driver_cache_blob); in _mesa_delete_program()
|
/external/mesa3d/src/compiler/glsl/ |
D | serialize.cpp | 1129 assert((glprog->driver_cache_blob == NULL) == in write_shader_metadata() 1133 blob_write_bytes(metadata, glprog->driver_cache_blob, in write_shader_metadata() 1199 glprog->driver_cache_blob = in read_shader_metadata() 1201 blob_copy_bytes(metadata, glprog->driver_cache_blob, in read_shader_metadata()
|