Home
last modified time | relevance | path

Searched refs:ir_sha1_cache_key (Results 1 – 12 of 12) sorted by relevance

/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_screen.h74 unsigned char ir_sha1_cache_key[20]);
77 unsigned char ir_sha1_cache_key[20]);
Dlp_context.c143 unsigned char ir_sha1_cache_key[20]) in lp_draw_disk_cache_find_shader()
146 lp_disk_cache_find_shader(screen, cache, ir_sha1_cache_key); in lp_draw_disk_cache_find_shader()
151 unsigned char ir_sha1_cache_key[20]) in lp_draw_disk_cache_insert_shader()
154 lp_disk_cache_insert_shader(screen, cache, ir_sha1_cache_key); in lp_draw_disk_cache_insert_shader()
Dlp_screen.c831 unsigned char ir_sha1_cache_key[20]) in lp_disk_cache_find_shader()
837 disk_cache_compute_key(screen->disk_shader_cache, ir_sha1_cache_key, 20, sha1); in lp_disk_cache_find_shader()
853 unsigned char ir_sha1_cache_key[20]) in lp_disk_cache_insert_shader()
859 disk_cache_compute_key(screen->disk_shader_cache, ir_sha1_cache_key, 20, sha1); in lp_disk_cache_insert_shader()
Dlp_state_cs.c684 unsigned char ir_sha1_cache_key[20]) in lp_cs_get_ir_cache_key()
699 _mesa_sha1_final(&ctx, ir_sha1_cache_key); in lp_cs_get_ir_cache_key()
712 unsigned char ir_sha1_cache_key[20]; in generate_variant() local
727 lp_cs_get_ir_cache_key(variant, ir_sha1_cache_key); in generate_variant()
729 lp_disk_cache_find_shader(screen, &cached, ir_sha1_cache_key); in generate_variant()
761 lp_disk_cache_insert_shader(screen, &cached, ir_sha1_cache_key); in generate_variant()
Dlp_state_fs.c3450 unsigned char ir_sha1_cache_key[20]) in lp_fs_get_ir_cache_key()
3465 _mesa_sha1_final(&ctx, ir_sha1_cache_key); in lp_fs_get_ir_cache_key()
3484 unsigned char ir_sha1_cache_key[20]; in generate_variant() local
3501 lp_fs_get_ir_cache_key(variant, ir_sha1_cache_key); in generate_variant()
3503 lp_disk_cache_find_shader(screen, &cached, ir_sha1_cache_key); in generate_variant()
3580 lp_disk_cache_insert_shader(screen, &cached, ir_sha1_cache_key); in generate_variant()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_context.h378 unsigned char ir_sha1_cache_key[20]),
381 unsigned char ir_sha1_cache_key[20]));
Ddraw_private.h398 unsigned char ir_sha1_cache_key[20]);
401 unsigned char ir_sha1_cache_key[20]);
Ddraw_llvm.c830 unsigned char ir_sha1_cache_key[20]) in draw_get_ir_cache_key()
846 _mesa_sha1_final(&ctx, ir_sha1_cache_key); in draw_get_ir_cache_key()
864 unsigned char ir_sha1_cache_key[20]; in draw_llvm_create_variant() local
885 ir_sha1_cache_key); in draw_llvm_create_variant()
889 ir_sha1_cache_key); in draw_llvm_create_variant()
919 ir_sha1_cache_key); in draw_llvm_create_variant()
2896 unsigned char ir_sha1_cache_key[20]; in draw_gs_llvm_create_variant() local
2919 ir_sha1_cache_key); in draw_gs_llvm_create_variant()
2923 ir_sha1_cache_key); in draw_gs_llvm_create_variant()
2945 ir_sha1_cache_key); in draw_gs_llvm_create_variant()
[all …]
Ddraw_context.c1348 unsigned char ir_sha1_cache_key[20]), in draw_set_disk_cache_callbacks()
1351 unsigned char ir_sha1_cache_key[20])) in draw_set_disk_cache_callbacks()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state.h561 unsigned char ir_sha1_cache_key[20]);
562 bool si_shader_cache_load_shader(struct si_screen *sscreen, unsigned char ir_sha1_cache_key[20],
564 void si_shader_cache_insert_shader(struct si_screen *sscreen, unsigned char ir_sha1_cache_key[20],
Dsi_compute.c168 unsigned char ir_sha1_cache_key[20]; in si_create_compute_state_async() local
169 si_get_ir_cache_key(sel, false, false, ir_sha1_cache_key); in si_create_compute_state_async()
174 if (si_shader_cache_load_shader(sscreen, ir_sha1_cache_key, shader)) { in si_create_compute_state_async()
214 si_shader_cache_insert_shader(sscreen, ir_sha1_cache_key, shader, true); in si_create_compute_state_async()
Dsi_state_shaders.c46 unsigned char ir_sha1_cache_key[20]) in si_get_ir_cache_key()
102 _mesa_sha1_final(&ctx, ir_sha1_cache_key); in si_get_ir_cache_key()
218 void si_shader_cache_insert_shader(struct si_screen *sscreen, unsigned char ir_sha1_cache_key[20], in si_shader_cache_insert_shader()
225 entry = _mesa_hash_table_search(sscreen->shader_cache, ir_sha1_cache_key); in si_shader_cache_insert_shader()
233 if (_mesa_hash_table_insert(sscreen->shader_cache, mem_dup(ir_sha1_cache_key, 20), hw_binary) == in si_shader_cache_insert_shader()
240 disk_cache_compute_key(sscreen->disk_shader_cache, ir_sha1_cache_key, 20, key); in si_shader_cache_insert_shader()
245 bool si_shader_cache_load_shader(struct si_screen *sscreen, unsigned char ir_sha1_cache_key[20], in si_shader_cache_load_shader()
248 struct hash_entry *entry = _mesa_hash_table_search(sscreen->shader_cache, ir_sha1_cache_key); in si_shader_cache_load_shader()
262 disk_cache_compute_key(sscreen->disk_shader_cache, ir_sha1_cache_key, 20, sha1); in si_shader_cache_load_shader()
270 si_shader_cache_insert_shader(sscreen, ir_sha1_cache_key, shader, false); in si_shader_cache_load_shader()
[all …]