Lines Matching defs:hash
703 if (expect->hash != have->hash)
822 uint32_t hash;
824 hash = (uint32_t)key->stage;
825 hash += key->required_varying_inputs.mask;
826 hash += key->required_varying_outputs.mask;
827 hash += key->next_varying_inputs;
828 hash += key->prev_varying_outputs;
836 hash = _mesa_hash_data_with_seed(&key->gs, sizeof(key->gs), hash);
839 hash = _mesa_hash_data_with_seed(&key->fs, sizeof(key->fs), hash);
842 hash = _mesa_hash_data_with_seed(&key->cs, sizeof(key->cs), hash);
845 hash += key->hs.next_patch_inputs;
848 hash += key->ds.tcs_vertices_out;
849 hash += key->ds.prev_patch_outputs;
852 /* No type specific information to hash for other stages. */
856 hash += key->n_texture_states;
857 hash += key->n_images;
858 return hash;
1059 key->hash = d3d12_shader_key_hash(key);