Home
last modified time | relevance | path

Searched refs:plane_tex (Results 1 – 1 of 1) sorted by relevance

/external/mesa3d/src/compiler/nir/
Dnir_lower_tex.c253 nir_tex_instr *plane_tex = in sample_plane() local
256 nir_src_copy(&plane_tex->src[i].src, &tex->src[i].src, plane_tex); in sample_plane()
257 plane_tex->src[i].src_type = tex->src[i].src_type; in sample_plane()
259 plane_tex->src[tex->num_srcs].src = nir_src_for_ssa(nir_imm_int(b, plane)); in sample_plane()
260 plane_tex->src[tex->num_srcs].src_type = nir_tex_src_plane; in sample_plane()
261 plane_tex->op = nir_texop_tex; in sample_plane()
262 plane_tex->sampler_dim = GLSL_SAMPLER_DIM_2D; in sample_plane()
263 plane_tex->dest_type = nir_type_float; in sample_plane()
264 plane_tex->coord_components = 2; in sample_plane()
266 plane_tex->texture_index = tex->texture_index; in sample_plane()
[all …]