Searched refs:new_coord (Results 1 – 4 of 4) sorted by relevance
/third_party/mesa3d/src/compiler/nir/ |
D | nir_lower_texcoord_replace.c | 71 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() 128 nir_ssa_def *result = nir_bcsel(&b, cond, new_coord, in nir_lower_texcoord_replace_impl()
|
/third_party/mesa3d/src/microsoft/compiler/ |
D | dxil_nir_lower_int_samplers.c | 455 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/ |
D | sfn_instruction_tex.cpp | 392 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 394 nir_src_for_ssa(new_coord)); in r600_nir_lower_cube_to_2darray_impl()
|
/third_party/mesa3d/src/amd/compiler/ |
D | aco_instruction_selection.cpp | 11343 Temp new_coord[2]; in handle_bc_optimize() local 11349 new_coord[i] = in handle_bc_optimize() 11354 Operand(new_coord[0]), Operand(new_coord[1])); in handle_bc_optimize() 11359 Temp new_coord[2]; in handle_bc_optimize() local 11365 new_coord[i] = bld.vop2(aco_opcode::v_cndmask_b32, bld.def(v1), linear_centroid, in handle_bc_optimize() 11370 Operand(new_coord[0]), Operand(new_coord[1])); in handle_bc_optimize()
|