Lines Matching defs:key
93 uint64_t key;
98 key = samplers_shadow;
101 key |= (uint32_t) ((!!context->rs[D3DRS_FOGENABLE]) << 8);
102 key |= (uint32_t) (context->swvp << 9);
105 key |= ((uint64_t)nine_shader_constant_combination_key(&vs->c_combinations,
111 /* We want to use a 64 bits key for performance.
112 * Use compressed float16 values for the pointsize min/max in the key.
115 key |= ((uint64_t)_mesa_float_to_half(asfloat(context->rs[D3DRS_POINTSIZE_MIN]))) << 32;
116 key |= ((uint64_t)_mesa_float_to_half(asfloat(context->rs[D3DRS_POINTSIZE_MAX]))) << 48;
119 res = vs->last_key != key;
121 vs->next_key = key;