Home
last modified time | relevance | path

Searched refs:new_coord (Results 1 - 5 of 5) sorted by relevance

/third_party/mesa3d/src/compiler/nir/
H A Dnir_lower_texcoord_replace.c71 nir_ssa_def *new_coord; in nir_lower_texcoord_replace_impl() local
73 new_coord = nir_load_system_value(&b, nir_intrinsic_load_point_coord, in nir_lower_texcoord_replace_impl()
88 new_coord = nir_load_var(&b, pntc); in nir_lower_texcoord_replace_impl()
94 nir_ssa_def *zero = nir_imm_zero(&b, 1, new_coord->bit_size); in nir_lower_texcoord_replace_impl()
95 nir_ssa_def *one = nir_imm_floatN_t(&b, 1.0, new_coord->bit_size); in nir_lower_texcoord_replace_impl()
96 nir_ssa_def *y = nir_channel(&b, new_coord, 1); in nir_lower_texcoord_replace_impl()
99 new_coord = nir_vec4(&b, nir_channel(&b, new_coord, 0), in nir_lower_texcoord_replace_impl()
127 nir_ssa_def *result = nir_bcsel(&b, cond, new_coord, in nir_lower_texcoord_replace_impl()
H A Dnir_lower_tex.c1117 nir_ssa_def *new_coord = nir_vector_insert_imm(b, coord, rounded_layer, layer); in lower_array_layer_round_even() local
1119 nir_instr_rewrite_src_ssa(&tex->instr, &tex->src[coord_index].src, new_coord); in lower_array_layer_round_even()
/third_party/mesa3d/src/microsoft/compiler/
H A Ddxil_nir_lower_int_samplers.c455 nir_ssa_def *new_coord = old_coord; in lower_sample_to_txf_for_integer_tex_impl() local
460 new_coord = nir_fmul(b, params.size, old_coord); in lower_sample_to_txf_for_integer_tex_impl()
468 new_coord = nir_vec2(b, coord, array_index); in lower_sample_to_txf_for_integer_tex_impl()
471 new_coord = nir_vec3(b, nir_channel(b, coord, 0), in lower_sample_to_txf_for_integer_tex_impl()
483 coord_help[i] = nir_ffloor(b, nir_channel(b, new_coord, i)); in lower_sample_to_txf_for_integer_tex_impl()
487 coord_help[params.ncoord_comp] = nir_fround_even(b, nir_channel(b, new_coord, params.ncoord_comp)); in lower_sample_to_txf_for_integer_tex_impl()
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
H A Dsfn_nir_lower_tex.cpp285 auto new_coord = nir_vec3(b, nir_channel(b, xy, 0), nir_channel(b, xy, 1), z); in r600_nir_lower_cube_to_2darray_impl() local
287 nir_src_for_ssa(new_coord)); in r600_nir_lower_cube_to_2darray_impl()
/third_party/mesa3d/src/amd/compiler/
H A Daco_instruction_selection.cpp11701 Temp new_coord[2];
11707 new_coord[i] =
11712 Operand(new_coord[0]), Operand(new_coord[1]));
11717 Temp new_coord[2];
11723 new_coord[i] = bld.vop2(aco_opcode::v_cndmask_b32, bld.def(v1), linear_centroid,
11728 Operand(new_coord[0]), Operand(new_coord[1]));

Completed in 20 milliseconds