Searched refs:cache_key (Results 1 - 25 of 27) sorted by relevance

12

/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/lima/
H A Dlima_disk_cache.c44 cache_key cache_key; local in function:lima_vs_disk_cache_store
45 disk_cache_compute_key(cache, key, sizeof(*key), cache_key);
49 _mesa_sha1_format(sha1, cache_key);
60 disk_cache_put(cache, cache_key, blob.data, blob.size, NULL);
72 cache_key cache_key; local in function:lima_fs_disk_cache_store
73 disk_cache_compute_key(cache, key, sizeof(*key), cache_key);
77 _mesa_sha1_format(sha1, cache_key);
87 disk_cache_put(cache, cache_key, blo
100 cache_key cache_key; local in function:lima_vs_disk_cache_retrieve
152 cache_key cache_key; local in function:lima_fs_disk_cache_retrieve
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/etnaviv/
H A Detnaviv_disk_cache.c78 _mesa_sha1_final(&ctx, shader->cache_key);
83 cache_key cache_key)
89 blob_write_bytes(&blob, &v->shader->cache_key, sizeof(v->shader->cache_key));
92 disk_cache_compute_key(compiler->disk_cache, blob.data, blob.size, cache_key);
132 cache_key cache_key; local in function:etna_disk_cache_retrieve
134 compute_variant_key(compiler, v, cache_key);
139 _mesa_sha1_format(sha1, cache_key);
82 compute_variant_key(struct etna_compiler * compiler,struct etna_shader_variant * v,cache_key cache_key) argument
168 cache_key cache_key; local in function:etna_disk_cache_store
[all...]
H A Detnaviv_shader.h78 cache_key cache_key; /* shader disk-cache key */ member in struct:etna_shader
/xsrc/external/mit/MesaLib/dist/src/freedreno/ir3/
H A Dir3_disk_cache.c99 _mesa_sha1_final(&ctx, shader->cache_key);
104 cache_key cache_key)
109 blob_write_bytes(&blob, &v->shader->cache_key, sizeof(v->shader->cache_key));
114 cache_key);
168 cache_key cache_key; local in function:ir3_disk_cache_retrieve
170 compute_variant_key(compiler, v, cache_key);
174 _mesa_sha1_format(sha1, cache_key);
103 compute_variant_key(struct ir3_compiler * compiler,struct ir3_shader_variant * v,cache_key cache_key) argument
207 cache_key cache_key; local in function:ir3_disk_cache_store
[all...]
H A Dir3_shader.h744 cache_key cache_key; /* shader disk-cache key */ member in struct:ir3_shader
/xsrc/external/mit/MesaLib/dist/src/util/
H A Ddisk_cache.h48 typedef uint8_t cache_key[CACHE_KEY_SIZE]; typedef in typeref:typename:uint8_t[CACHE_KEY_SIZE]
74 cache_key *keys; /* sha1 list of shaders that make up the cache item */
194 disk_cache_remove(struct disk_cache *cache, const cache_key key);
206 disk_cache_put(struct disk_cache *cache, const cache_key key,
222 disk_cache_put_nocopy(struct disk_cache *cache, const cache_key key,
240 disk_cache_get(struct disk_cache *cache, const cache_key key, size_t *size);
252 disk_cache_put_key(struct disk_cache *cache, const cache_key key);
265 disk_cache_has_key(struct disk_cache *cache, const cache_key key);
272 cache_key key);
293 disk_cache_put(struct disk_cache *cache, const cache_key ke
[all...]
H A Ddisk_cache_os.h85 cache_key key;
107 disk_cache_load_item_foz(struct disk_cache *cache, const cache_key key,
114 disk_cache_get_cache_filename(struct disk_cache *cache, const cache_key key);
H A Ddisk_cache.c253 disk_cache_remove(struct disk_cache *cache, const cache_key key)
264 create_put_job(struct disk_cache *cache, const cache_key key,
274 memcpy(dc_job->key, key, sizeof(cache_key));
289 dc_job->cache_item_metadata.keys = (cache_key *)
290 malloc(cache_item_metadata->num_keys * sizeof(cache_key));
297 sizeof(cache_key) * cache_item_metadata->num_keys);
362 disk_cache_put(struct disk_cache *cache, const cache_key key,
385 disk_cache_put_nocopy(struct disk_cache *cache, const cache_key key,
411 disk_cache_get(struct disk_cache *cache, const cache_key key, size_t *size)
450 disk_cache_put_key(struct disk_cache *cache, const cache_key ke
[all...]
H A Ddisk_cache_os.c348 make_cache_file_directory(struct disk_cache *cache, const cache_key key)
493 blob_read_bytes(&ci_blob_reader, num_keys * sizeof(cache_key));
579 disk_cache_get_cache_filename(struct disk_cache *cache, const cache_key key)
632 dc_job->cache_item_metadata.num_keys * sizeof(cache_key);
872 disk_cache_load_item_foz(struct disk_cache *cache, const cache_key key,
H A Dfossilize_db.c63 truncate_hash_to_64bits(const uint8_t *cache_key) argument
68 hash |= ((uint64_t)cache_key[i]) << shift * 8;
/xsrc/external/mit/MesaLib.old/dist/src/util/
H A Ddisk_cache.h47 typedef uint8_t cache_key[CACHE_KEY_SIZE]; typedef in typeref:typename:uint8_t[CACHE_KEY_SIZE]
73 cache_key *keys; /* sha1 list of shaders that make up the cache item */
181 disk_cache_remove(struct disk_cache *cache, const cache_key key);
193 disk_cache_put(struct disk_cache *cache, const cache_key key,
211 disk_cache_get(struct disk_cache *cache, const cache_key key, size_t *size);
223 disk_cache_put_key(struct disk_cache *cache, const cache_key key);
236 disk_cache_has_key(struct disk_cache *cache, const cache_key key);
243 cache_key key);
264 disk_cache_put(struct disk_cache *cache, const cache_key key,
272 disk_cache_remove(struct disk_cache *cache, const cache_key ke
[all...]
H A Ddisk_cache.c114 cache_key key;
459 get_cache_file(struct disk_cache *cache, const cache_key key)
481 make_cache_file_directory(struct disk_cache *cache, const cache_key key)
678 disk_cache_remove(struct disk_cache *cache, const cache_key key)
806 create_put_job(struct disk_cache *cache, const cache_key key,
815 memcpy(dc_job->key, key, sizeof(cache_key));
826 dc_job->cache_item_metadata.keys = (cache_key *)
827 malloc(cache_item_metadata->num_keys * sizeof(cache_key));
834 sizeof(cache_key) * cache_item_metadata->num_keys);
966 sizeof(cache_key));
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/crocus/
H A Dcrocus_disk_cache.c52 cache_key cache_key)
68 disk_cache_compute_key(cache, data, data_size, cache_key);
92 cache_key cache_key; local in function:crocus_disk_cache_store
93 crocus_disk_cache_compute_key(cache, ish, prog_key, prog_key_size, cache_key);
97 _mesa_sha1_format(sha1, cache_key);
122 disk_cache_put(cache, cache_key, blob.data, blob.size, NULL);
145 cache_key cache_key; local in function:crocus_disk_cache_retrieve
48 crocus_disk_cache_compute_key(struct disk_cache * cache,const struct crocus_uncompiled_shader * ish,const void * orig_prog_key,uint32_t prog_key_size,cache_key cache_key) argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/iris/
H A Diris_disk_cache.c52 cache_key cache_key)
68 disk_cache_compute_key(cache, data, data_size, cache_key);
91 cache_key cache_key; local in function:iris_disk_cache_store
92 iris_disk_cache_compute_key(cache, ish, prog_key, prog_key_size, cache_key);
96 _mesa_sha1_format(sha1, cache_key);
126 disk_cache_put(cache, cache_key, blob.data, blob.size, NULL);
159 cache_key cache_key; local in function:iris_disk_cache_retrieve
48 iris_disk_cache_compute_key(struct disk_cache * cache,const struct iris_uncompiled_shader * ish,const void * orig_prog_key,uint32_t prog_key_size,cache_key cache_key) argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/compiler/spirv/
H A Dnir_load_libclc.c89 unsigned char cache_key[20]; member in struct:clc_data
104 snprintf((char *)clc->cache_key, sizeof(clc->cache_key),
127 _mesa_sha1_final(&ctx, clc->cache_key);
256 cache_key cache_key; local in function:nir_load_libclc_shader
258 disk_cache_compute_key(disk_cache, clc.cache_key,
259 sizeof(clc.cache_key), cache_key);
262 uint8_t *buffer = disk_cache_get(disk_cache, cache_key,
[all...]
/xsrc/external/mit/MesaLib/dist/src/compiler/glsl/
H A Dshader_cache.cpp120 (cache_key *) malloc(prog->NumShaders * sizeof(cache_key));
128 sizeof(cache_key));
/xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/
H A Dshader_cache.cpp118 (cache_key *) malloc(prog->NumShaders * sizeof(cache_key));
126 sizeof(cache_key));
/xsrc/external/mit/MesaLib/dist/src/broadcom/vulkan/
H A Dv3dv_pipeline_cache.c307 cache_key cache_key; local in function:v3dv_pipeline_cache_search_for_pipeline
308 disk_cache_compute_key(disk_cache, sha1_key, 20, cache_key);
311 uint8_t *buffer = disk_cache_get(disk_cache, cache_key, &buffer_size);
464 cache_key cache_key; local in function:pipeline_cache_upload_shared_data
465 disk_cache_compute_key(disk_cache, shared_data->sha1_key, 20, cache_key);
467 disk_cache_put(disk_cache, cache_key, binary.data, binary.size, NULL);
/xsrc/external/mit/MesaLib.old/dist/src/intel/vulkan/
H A Danv_pipeline_cache.c630 cache_key cache_key; local in function:anv_device_search_for_kernel
631 disk_cache_compute_key(disk_cache, key_data, key_size, cache_key);
634 uint8_t *buffer = disk_cache_get(disk_cache, cache_key, &buffer_size);
690 cache_key cache_key; local in function:anv_device_upload_kernel
691 disk_cache_compute_key(disk_cache, key_data, key_size, cache_key);
693 disk_cache_put(disk_cache, cache_key, binary.data, binary.size, NULL);
H A Danv_pipeline.c435 } cache_key; member in struct:anv_pipeline_stage
1041 stages[s].cache_key.stage = s;
1042 memcpy(stages[s].cache_key.sha1, sha1, sizeof(sha1));
1047 &stages[s].cache_key,
1048 sizeof(stages[s].cache_key), &cache_hit);
1205 &stages[s].cache_key,
1206 sizeof(stages[s].cache_key),
1290 .cache_key = {
1309 anv_pipeline_hash_compute(pipeline, layout, &stage, stage.cache_key.sha1);
1311 bin = anv_device_search_for_kernel(pipeline->device, cache, &stage.cache_key,
[all...]
/xsrc/external/mit/MesaLib/dist/src/intel/vulkan/
H A Danv_pipeline_cache.c696 cache_key cache_key; local in function:anv_device_search_for_kernel
697 disk_cache_compute_key(disk_cache, key_data, key_size, cache_key);
700 uint8_t *buffer = disk_cache_get(disk_cache, cache_key, &buffer_size);
756 cache_key cache_key; local in function:anv_device_upload_kernel
757 disk_cache_compute_key(disk_cache, key_data, key_size, cache_key);
759 disk_cache_put(disk_cache, cache_key, binary.data, binary.size, NULL);
H A Danv_pipeline.c602 } cache_key; member in struct:anv_pipeline_stage
1517 stages[s].cache_key.stage = s;
1518 memcpy(stages[s].cache_key.sha1, sha1, sizeof(sha1));
1536 &stages[s].cache_key,
1537 sizeof(stages[s].cache_key), &cache_hit);
1763 &stages[s].cache_key,
1764 sizeof(stages[s].cache_key),
1849 .cache_key = {
1880 anv_pipeline_hash_compute(pipeline, layout, &stage, stage.cache_key.sha1);
1885 &stage.cache_key,
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/tests/
H A Dcache_test.c151 does_cache_contain(struct disk_cache *cache, const cache_key key)
166 wait_until_file_written(struct disk_cache *cache, const cache_key key)
/xsrc/external/mit/MesaLib/dist/src/util/tests/cache/
H A Dcache_test.c160 does_cache_contain(struct disk_cache *cache, const cache_key key)
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a6xx/
H A Dfd6_program.c354 const struct ir3_cache_key *cache_key,
357 const struct ir3_shader_key *key = &cache_key->key;
541 clip_mask &= cache_key->clip_plane_enable;
352 setup_stateobj(struct fd_ringbuffer * ring,struct fd_context * ctx,struct fd6_program_state * state,const struct ir3_cache_key * cache_key,bool binning_pass) argument

Completed in 33 milliseconds

12