Lines Matching defs:coord
78 create_frag_input(struct ir3_context *ctx, struct ir3_instruction *coord,
86 if (coord) {
87 instr = ir3_BARY_F(block, inloc, 0, coord, 0);
1429 /* src[] = { deref, coord, sample_index }. const_index[] = {} */
1463 * y coord. Note that the array index must come after the fake y coord.
2918 struct ir3_instruction *const *coord, *const *off, *const *ddx, *const *ddy;
2929 coord = off = ddx = ddy = NULL;
2937 coord = ir3_get_src(ctx, &tex->src[i].src);
3059 src0[i] = coord[i];
3063 type_t coord_pad_type = is_half(coord[0]) ? TYPE_U16 : TYPE_U32;
3073 * height of 1, and patch up the y coord.
3077 } else if (is_half(coord[0])) {
3088 src0[nsrc0++] = coord[coords];
3110 * with scaled x coord according to requested sample:
3914 struct ir3_instruction *coord = NULL;
3917 coord = ir3_create_collect(ctx->block, ir3_get_src(ctx, &intr->src[0]), 2);
3919 compile_assert(ctx, nir_src_is_const(intr->src[coord ? 1 : 0]));
3922 unsigned offset = nir_src_as_uint(intr->src[coord ? 1 : 0]);
3939 coord = NULL;
3947 so->inputs[n].flat = !coord;
3956 ctx->last_dst[i] = create_frag_input(ctx, coord, idx);