Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_instruction_tex.cpp365 int coord_idx = nir_tex_instr_src_index(tex, nir_tex_src_coord); in r600_nir_lower_cube_to_2darray_impl() local
366 assert(coord_idx >= 0); in r600_nir_lower_cube_to_2darray_impl()
368 auto cubed = nir_cube_r600(b, nir_channels(b, tex->src[coord_idx].src.ssa, 0x7)); in r600_nir_lower_cube_to_2darray_impl()
376 auto slice = nir_fround_even(b, nir_channel(b, tex->src[coord_idx].src.ssa, 3)); in r600_nir_lower_cube_to_2darray_impl()
393 nir_instr_rewrite_src(&tex->instr, &tex->src[coord_idx].src, in r600_nir_lower_cube_to_2darray_impl()
/third_party/mesa3d/src/panfrost/midgard/
Dmidgard_compile.c2185 int coord_idx = nir_tex_instr_src_index(instr, nir_tex_src_coord); in set_tex_coord() local
2187 assert(coord_idx >= 0); in set_tex_coord()
2194 unsigned coords = nir_src_index(ctx, &instr->src[coord_idx].src); in set_tex_coord()
2198 ins->src_types[1] = nir_tex_instr_src_type(instr, coord_idx) | in set_tex_coord()
2199 nir_src_bit_size(instr->src[coord_idx].src); in set_tex_coord()
/third_party/mesa3d/src/panfrost/bifrost/
Dbifrost_compile.c2791 int coord_idx = nir_tex_instr_src_index(instr, nir_tex_src_coord); in bi_emit_texs() local
2792 assert(coord_idx >= 0); in bi_emit_texs()
2793 bi_index coords = bi_src_index(&instr->src[coord_idx].src); in bi_emit_texs()