Searched refs:plane_tex (Results 1 – 1 of 1) sorted by relevance
220 nir_tex_instr *plane_tex = nir_tex_instr_create(b->shader, 2); in sample_plane() local221 nir_src_copy(&plane_tex->src[0].src, &tex->src[0].src, plane_tex); in sample_plane()222 plane_tex->src[0].src_type = nir_tex_src_coord; in sample_plane()223 plane_tex->src[1].src = nir_src_for_ssa(nir_imm_int(b, plane)); in sample_plane()224 plane_tex->src[1].src_type = nir_tex_src_plane; in sample_plane()225 plane_tex->op = nir_texop_tex; in sample_plane()226 plane_tex->sampler_dim = GLSL_SAMPLER_DIM_2D; in sample_plane()227 plane_tex->dest_type = nir_type_float; in sample_plane()228 plane_tex->coord_components = 2; in sample_plane()230 plane_tex->texture_index = tex->texture_index; in sample_plane()[all …]