Searched refs:coord_index (Results 1 – 5 of 5) sorted by relevance
/third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
D | sfn_instruction_tex.cpp | 147 int coord_index = nir_tex_instr_src_index(tex, nir_tex_src_coord); in lower_coord_shift_normalized() local 150 auto corr2 = nir_fadd(b, nir_channels(b, tex->src[coord_index].src.ssa, 3), in lower_coord_shift_normalized() 154 b, tex->src[coord_index].src.ssa, 2)); in lower_coord_shift_normalized() 158 tex->src[coord_index].src.ssa); in lower_coord_shift_normalized() 161 nir_instr_rewrite_src(&tex->instr, &tex->src[coord_index].src, in lower_coord_shift_normalized() 169 int coord_index = nir_tex_instr_src_index(tex, nir_tex_src_coord); in lower_coord_shift_unnormalized() local 172 auto corr2 = nir_fadd(b, nir_channels(b, tex->src[coord_index].src.ssa, 3), in lower_coord_shift_unnormalized() 175 nir_channel(b, tex->src[coord_index].src.ssa, 2)); in lower_coord_shift_unnormalized() 177 corr = nir_fadd(b, tex->src[coord_index].src.ssa, in lower_coord_shift_unnormalized() 180 nir_instr_rewrite_src(&tex->instr, &tex->src[coord_index].src, in lower_coord_shift_unnormalized()
|
/third_party/mesa3d/src/broadcom/compiler/ |
D | v3d_nir_lower_txf_ms.c | 44 int coord_index = nir_tex_instr_src_index(instr, nir_tex_src_coord); in v3d_nir_lower_txf_ms_instr() local 46 nir_ssa_def *coord = instr->src[coord_index].src.ssa; in v3d_nir_lower_txf_ms_instr()
|
/third_party/mesa3d/src/compiler/nir/ |
D | nir_lower_tex.c | 144 int coord_index = nir_tex_instr_src_index(tex, nir_tex_src_coord); in lower_offset() local 145 assert(coord_index >= 0); in lower_offset() 148 assert(tex->src[coord_index].src.is_ssa); in lower_offset() 150 nir_ssa_def *coord = tex->src[coord_index].src.ssa; in lower_offset() 155 if (nir_tex_instr_src_type(tex, coord_index) == nir_type_float) { in lower_offset() 185 nir_instr_rewrite_src(&tex->instr, &tex->src[coord_index].src, in lower_offset() 203 int coord_index = nir_tex_instr_src_index(tex, nir_tex_src_coord); in lower_rect() local 205 if (coord_index != -1) { in lower_rect() 207 nir_ssa_for_src(b, tex->src[coord_index].src, tex->coord_components); in lower_rect() 209 &tex->src[coord_index].src, in lower_rect() [all …]
|
/third_party/mesa3d/src/gallium/drivers/d3d12/ |
D | d3d12_lower_int_cubemap_to_array.c | 150 int coord_index = nir_tex_instr_src_index(tex, nir_tex_src_coord); in lower_cube_sample() local 151 assert(coord_index >= 0); in lower_cube_sample() 154 nir_ssa_def *coord = tex->src[coord_index].src.ssa; in lower_cube_sample()
|
/third_party/mesa3d/src/microsoft/compiler/ |
D | dxil_nir_lower_int_samplers.c | 80 int coord_index = nir_tex_instr_src_index(tex, nir_tex_src_coord); in dx_get_texture_lod() local 81 nir_ssa_def *ssa_src = nir_channels(b, tex->src[coord_index].src.ssa, in dx_get_texture_lod() 427 int coord_index = nir_tex_instr_src_index(tex, nir_tex_src_coord); in lower_sample_to_txf_for_integer_tex_impl() local 428 nir_ssa_def *old_coord = tex->src[coord_index].src.ssa; in lower_sample_to_txf_for_integer_tex_impl()
|