Searched refs:coord_idx (Results 1 – 5 of 5) sorted by relevance
/third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
D | sfn_nir_lower_tex.cpp | 258 int coord_idx = nir_tex_instr_src_index(tex, nir_tex_src_coord); in r600_nir_lower_cube_to_2darray_impl() local 259 assert(coord_idx >= 0); in r600_nir_lower_cube_to_2darray_impl() 261 auto cubed = nir_cube_r600(b, nir_channels(b, tex->src[coord_idx].src.ssa, 0x7)); in r600_nir_lower_cube_to_2darray_impl() 269 auto slice = nir_fround_even(b, nir_channel(b, tex->src[coord_idx].src.ssa, 3)); in r600_nir_lower_cube_to_2darray_impl() 286 nir_instr_rewrite_src(&tex->instr, &tex->src[coord_idx].src, in r600_nir_lower_cube_to_2darray_impl()
|
/third_party/mesa3d/src/freedreno/ir3/ |
D | ir3_nir.c | 287 int coord_idx = nir_tex_instr_src_index(tex, nir_tex_src_coord); in ir3_nir_lower_array_sampler_cb() local 288 if (coord_idx == -1 || in ir3_nir_lower_array_sampler_cb() 289 nir_tex_instr_src_type(tex, coord_idx) != nir_type_float) in ir3_nir_lower_array_sampler_cb() 295 nir_ssa_def *src = nir_ssa_for_src(b, tex->src[coord_idx].src, ncomp); in ir3_nir_lower_array_sampler_cb() 300 nir_instr_rewrite_src(&tex->instr, &tex->src[coord_idx].src, in ir3_nir_lower_array_sampler_cb()
|
/third_party/mesa3d/src/panfrost/midgard/ |
D | midgard_compile.c | 2276 int coord_idx = nir_tex_instr_src_index(instr, nir_tex_src_coord); in set_tex_coord() local 2278 assert(coord_idx >= 0); in set_tex_coord() 2285 unsigned coords = nir_src_index(ctx, &instr->src[coord_idx].src); in set_tex_coord() 2289 ins->src_types[1] = nir_tex_instr_src_type(instr, coord_idx) | in set_tex_coord() 2290 nir_src_bit_size(instr->src[coord_idx].src); in set_tex_coord()
|
/third_party/mesa3d/src/panfrost/bifrost/ |
D | bifrost_compile.c | 3769 int coord_idx = nir_tex_instr_src_index(instr, nir_tex_src_coord); in bi_emit_texs() local 3770 assert(coord_idx >= 0); in bi_emit_texs() 3771 bi_index coords = bi_src_index(&instr->src[coord_idx].src); in bi_emit_texs() 4796 int coord_idx = nir_tex_instr_src_index(tex, nir_tex_src_coord); in bi_gather_texcoords() local 4797 if (coord_idx < 0) in bi_gather_texcoords() 4800 nir_src src = tex->src[coord_idx].src; in bi_gather_texcoords()
|
/third_party/mesa3d/src/amd/compiler/ |
D | aco_instruction_selection.cpp | 9443 int coord_idx = nir_tex_instr_src_index(instr, nir_tex_src_coord); in visit_tex() local 9444 if (coord_idx > 0) in visit_tex() 9445 a16 = instr->src[coord_idx].src.ssa->bit_size == 16; in visit_tex()
|