Lines Matching refs:sha1
60 #include "util/mesa-sha1.h"
98 static const char zero[sizeof(prog->data->sha1)] = {0};
99 if (memcmp(prog->data->sha1, zero, sizeof(prog->data->sha1)) == 0)
125 memcpy(cache_item_metadata.keys[i], prog->Shaders[i]->sha1,
129 disk_cache_put(cache, prog->data->sha1, metadata.data, metadata.size,
134 _mesa_sha1_format(sha1_buf, prog->data->sha1);
157 /* Include bindings when creating sha1. These bindings change the resulting
197 * include them as an input to sha1 creation.
205 _mesa_sha1_format(sha1buf, sh->sha1);
209 disk_cache_compute_key(cache, buf, strlen(buf), prog->data->sha1);
213 uint8_t *buffer = (uint8_t *) disk_cache_get(cache, prog->data->sha1,
231 _mesa_sha1_format(sha1buf, prog->data->sha1);
252 disk_cache_remove(cache, prog->data->sha1);