Lines Matching refs:hash
67 sampler_state->hash = XXH32(hash_data, data_size, 0);
84 * TODO: somehow fix this for perf because it's an extra hash lookup
816 uint32_t hash = hash_bufferview(bvci);
818 struct hash_entry *he = _mesa_hash_table_search_pre_hashed(&res->bufferview_cache, hash, bvci);
839 buffer_view->hash = hash;
840 _mesa_hash_table_insert_pre_hashed(&res->bufferview_cache, hash, &buffer_view->bvci, buffer_view);
987 struct hash_entry *he = _mesa_hash_table_search_pre_hashed(&res->bufferview_cache, buffer_view->hash, &buffer_view->bvci);
2474 uint32_t hash = 0;
2482 hash = XXH32(&info->colorAttachmentCount, sizeof(uint32_t), hash);
2483 hash = XXH32(&info->depthAttachmentFormat, sizeof(uint32_t), hash);
2484 hash = XXH32(&info->stencilAttachmentFormat, sizeof(VkFormat), hash);
2485 return XXH32(info->pColorAttachmentFormats, sizeof(VkFormat) * info->colorAttachmentCount, hash);