Lines Matching refs:texcoord
38 nir_variable *texcoord, *texcoord_const, *scale, *bias, *tex, *pixelmap; member
44 if (state->texcoord == NULL) { in get_texcoord()
45 nir_variable *texcoord = NULL; in get_texcoord() local
50 texcoord = var; in get_texcoord()
56 if (texcoord == NULL) { in get_texcoord()
57 texcoord = nir_variable_create(state->shader, in get_texcoord()
61 texcoord->data.location = VARYING_SLOT_TEX0; in get_texcoord()
64 state->texcoord = texcoord; in get_texcoord()
66 return nir_load_var(&state->b, state->texcoord); in get_texcoord()
119 nir_ssa_def *texcoord; in lower_color() local
127 texcoord = get_texcoord(state); in lower_color()
156 nir_src_for_ssa(nir_channels(b, texcoord, in lower_color()