Lines Matching defs:tex

360         uint32_t w = align(c->key->tex[unit].msaa_width, tile_width);
362 uint32_t h = align(c->key->tex[unit].msaa_height, tile_height);
380 struct qreg tex = qir_TEX_RESULT(c);
383 enum pipe_format format = c->key->tex[unit].format;
385 struct qreg scaled = ntq_scale_depth_texture(c, tex);
391 qir_UNPACK_8_F(c, tex, i));
444 if (c->key->tex[unit].force_first_level) {
468 } else if (c->key->tex[unit].wrap_s == PIPE_TEX_WRAP_CLAMP_TO_BORDER ||
469 c->key->tex[unit].wrap_s == PIPE_TEX_WRAP_CLAMP ||
470 c->key->tex[unit].wrap_t == PIPE_TEX_WRAP_CLAMP_TO_BORDER ||
471 c->key->tex[unit].wrap_t == PIPE_TEX_WRAP_CLAMP) {
479 if (c->key->tex[unit].wrap_s == PIPE_TEX_WRAP_CLAMP) {
483 if (c->key->tex[unit].wrap_t == PIPE_TEX_WRAP_CLAMP) {
504 struct qreg tex = qir_TEX_RESULT(c);
506 enum pipe_format format = c->key->tex[unit].format;
509 struct qreg normalized = ntq_scale_depth_texture(c, tex);
514 if (c->key->tex[unit].compare_mode) {
524 switch (c->key->tex[unit].compare_func) {
566 qir_UNPACK_8_F(c, tex, i));
2255 for (int i = 0; i < ARRAY_SIZE(key->tex); i++) {
2256 enum pipe_format format = c->key->tex[i].format;
2264 uint8_t arb_swiz = c->key->tex[i].swizzle[j];
2654 key->tex[i].format = sampler->format;
2655 key->tex[i].swizzle[0] = sampler->swizzle_r;
2656 key->tex[i].swizzle[1] = sampler->swizzle_g;
2657 key->tex[i].swizzle[2] = sampler->swizzle_b;
2658 key->tex[i].swizzle[3] = sampler->swizzle_a;
2661 key->tex[i].msaa_width = sampler->texture->width0;
2662 key->tex[i].msaa_height = sampler->texture->height0;
2664 key->tex[i].compare_mode = sampler_state->compare_mode;
2665 key->tex[i].compare_func = sampler_state->compare_func;
2666 key->tex[i].wrap_s = sampler_state->wrap_s;
2667 key->tex[i].wrap_t = sampler_state->wrap_t;
2668 key->tex[i].force_first_level =