| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/lima/ |
| H A D | lima_disk_cache.c | 44 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 D | etnaviv_disk_cache.c | 78 _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 D | etnaviv_shader.h | 78 cache_key cache_key; /* shader disk-cache key */ member in struct:etna_shader
|
| /xsrc/external/mit/MesaLib/dist/src/freedreno/ir3/ |
| H A D | ir3_disk_cache.c | 99 _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 D | ir3_shader.h | 744 cache_key cache_key; /* shader disk-cache key */ member in struct:ir3_shader
|
| /xsrc/external/mit/MesaLib/dist/src/util/ |
| H A D | disk_cache.h | 48 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 D | disk_cache_os.h | 85 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 D | disk_cache.c | 253 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 D | disk_cache_os.c | 348 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 D | fossilize_db.c | 63 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 D | disk_cache.h | 47 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 D | disk_cache.c | 114 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 D | crocus_disk_cache.c | 52 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 D | iris_disk_cache.c | 52 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 D | nir_load_libclc.c | 89 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 D | shader_cache.cpp | 120 (cache_key *) malloc(prog->NumShaders * sizeof(cache_key)); 128 sizeof(cache_key));
|
| /xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/ |
| H A D | shader_cache.cpp | 118 (cache_key *) malloc(prog->NumShaders * sizeof(cache_key)); 126 sizeof(cache_key));
|
| /xsrc/external/mit/MesaLib/dist/src/broadcom/vulkan/ |
| H A D | v3dv_pipeline_cache.c | 307 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 D | anv_pipeline_cache.c | 630 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 D | anv_pipeline.c | 435 } 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 D | anv_pipeline_cache.c | 696 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 D | anv_pipeline.c | 602 } 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 D | cache_test.c | 151 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 D | cache_test.c | 160 does_cache_contain(struct disk_cache *cache, const cache_key key)
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a6xx/ |
| H A D | fd6_program.c | 354 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
|