Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_program_binary.c142 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/
Dst_shader_cache.c59 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/
Dprogram_binary.c189 ralloc_free(prog->driver_cache_blob); in write_program_payload()
190 prog->driver_cache_blob = NULL; in write_program_payload()
Dmtypes.h2090 void *driver_cache_blob; member
/external/mesa3d/src/mesa/program/
Dprogram.c273 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/
Dserialize.cpp1129 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()