Lines Matching full:sha1
24 #include "util/mesa-sha1.h"
32 unsigned char sha1[20]; member
98 _mesa_sha1_update(ctx, module->sha1, sizeof(module->sha1)); in radv_hash_shader()
101 _mesa_sha1_update(ctx, layout->sha1, sizeof(layout->sha1)); in radv_hash_shader()
113 const unsigned char *sha1) in radv_pipeline_cache_search_unlocked() argument
116 const uint32_t start = (*(uint32_t *) sha1); in radv_pipeline_cache_search_unlocked()
125 if (memcmp(entry->sha1, sha1, sizeof(entry->sha1)) == 0) { in radv_pipeline_cache_search_unlocked()
135 const unsigned char *sha1) in radv_pipeline_cache_search() argument
141 entry = radv_pipeline_cache_search_unlocked(cache, sha1); in radv_pipeline_cache_search()
151 const unsigned char *sha1) in radv_create_shader_variant_from_pipeline_cache() argument
153 struct cache_entry *entry = radv_pipeline_cache_search(cache, sha1); in radv_create_shader_variant_from_pipeline_cache()
257 const unsigned char *sha1, in radv_pipeline_cache_insert_shader() argument
262 struct cache_entry *entry = radv_pipeline_cache_search_unlocked(cache, sha1); in radv_pipeline_cache_insert_shader()
282 memcpy(entry->sha1, sha1, 20); in radv_pipeline_cache_insert_shader()
452 if (!entry || radv_pipeline_cache_search(dst, entry->sha1)) in radv_pipeline_cache_merge()