Home | History | Annotate | Download | only in nir

Lines Matching defs:texcoord

38    nir_variable *texcoord, *scale, *bias;
44 if (state->texcoord == NULL) {
45 nir_variable *texcoord = NULL;
50 texcoord = var;
56 if (texcoord == NULL) {
57 texcoord = nir_variable_create(state->shader,
61 texcoord->data.location = VARYING_SLOT_TEX0;
64 state->texcoord = texcoord;
66 return nir_load_var(&state->b, state->texcoord);
117 nir_ssa_def *texcoord;
125 texcoord = get_texcoord(state);
128 * TEX def, texcoord, drawpix_sampler, 2D
138 tex->src[0].src = nir_src_for_ssa(texcoord);