Lines Matching defs:hash

160          zm->hash = patch_vertices;
162 zm->hash = shader_module_hash(zm);
205 variant_hash ^= prog->modules[pstage]->hash;
209 variant_hash ^= prog->modules[pstage]->hash;
231 uint32_t hash = _mesa_hash_data(key, offsetof(struct zink_gfx_pipeline_state, hash));
233 hash = XXH32(&state->dyn_state2, sizeof(state->dyn_state2), hash);
235 return hash;
236 return XXH32(&state->dyn_state1, sizeof(state->dyn_state1), hash);
252 /* if we don't have dynamic states, we have to hash the enabled vertex buffer bindings */
279 !memcmp(a, b, offsetof(struct zink_gfx_pipeline_state, hash));
341 zm->hash = shader_module_hash(zm);
352 ctx->compute_pipeline_state.module_hash = zm->hash;
505 uint32_t hash = _mesa_hash_data(state, offsetof(struct zink_compute_pipeline_state, hash));
507 hash = XXH32(&state->local_size[0], sizeof(state->local_size), hash);
508 return hash;
539 return !memcmp(a, b, offsetof(struct zink_compute_pipeline_state, hash)) &&
828 if (state->pipeline) //avoid on first hash
829 state->final_hash ^= state->hash;
830 state->hash = hash_gfx_pipeline_state(state);
831 state->final_hash ^= state->hash;
840 uint32_t hash = 0;
841 /* if we don't have dynamic states, we have to hash the enabled vertex buffer bindings */
843 hash = XXH32(&vertex_buffers_enabled_mask, sizeof(uint32_t), hash);
849 hash = XXH32(&state->vertex_strides[buffer_id], sizeof(uint32_t), hash);
851 state->vertex_hash = hash ^ state->element_state->hash;
853 state->vertex_hash = state->element_state->hash;
898 if (state->pipeline) //avoid on first hash
899 state->final_hash ^= state->hash;
900 state->hash = hash_compute_pipeline_state(state);
902 state->final_hash ^= state->hash;
956 ctx->compute_pipeline_state.module_hash = ctx->curr_compute->curr->hash;
967 ctx->gfx_hash ^= ctx->gfx_stages[stage]->hash;
973 ctx->gfx_hash ^= ctx->gfx_stages[stage]->hash;