Lines Matching defs:context
91 struct nine_context *context = &(device->context);
96 samplers_shadow = (uint8_t)((context->samplers_shadow & NINE_VS_SAMPLERS_MASK) >> NINE_SAMPLER_VS(0));
101 key |= (uint32_t) ((!!context->rs[D3DRS_FOGENABLE]) << 8);
102 key |= (uint32_t) (context->swvp << 9);
104 if ((vs->const_int_slots > 0 || vs->const_bool_slots > 0) && context->inline_constants && !context->swvp)
108 context->vs_const_i,
109 context->vs_const_b)) << 16;
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;