/third_party/mesa3d/src/gallium/drivers/lima/ir/ |
D | lima_nir_split_load_input.c | 58 for (i = 1; i < nir_dest_num_components(alu->dest.dest); i++) in lima_nir_split_load_input_instr() 62 if (i != nir_dest_num_components(alu->dest.dest)) in lima_nir_split_load_input_instr() 66 if (nir_dest_num_components(alu->dest.dest) == 3 && swizzle > 0) in lima_nir_split_load_input_instr() 70 if (nir_dest_num_components(alu->dest.dest) == 2 && in lima_nir_split_load_input_instr() 79 nir_dest_num_components(alu->dest.dest), in lima_nir_split_load_input_instr() 82 new_intrin->num_components = nir_dest_num_components(alu->dest.dest); in lima_nir_split_load_input_instr()
|
D | lima_nir_lower_txp.c | 65 if (nir_dest_num_components(intrin->dest) != 4) in get_proj_index()
|
/third_party/mesa3d/src/imagination/rogue/ |
D | rogue.c | 152 assert(nir_dest_num_components(alu->dest.dest) == 1 || in setup_alu_dest() 153 nir_dest_num_components(alu->dest.dest) == 4); in setup_alu_dest() 158 if (nir_dest_num_components(alu->dest.dest) == 1) { in setup_alu_dest() 267 nir_dest_num_components(alu->dest.dest) == 1) in trans_nir_alu_mov() 293 assert(nir_dest_num_components(alu->dest.dest) == 1); in trans_nir_alu_pack_unorm_4x8() 399 assert(nir_dest_num_components(intr->dest) == 1); in trans_nir_intrinsic_load_input_fs() 416 uint64_t source_count = nir_dest_num_components(intr->dest); in trans_nir_intrinsic_load_input_fs() 448 assert(nir_dest_num_components(intr->dest) == 1); in trans_nir_intrinsic_load_input_vs() 588 assert(nir_dest_num_components(intr->dest) == 1); in trans_nir_intrinsic_load_ubo()
|
/third_party/mesa3d/src/microsoft/clc/ |
D | clc_nir.c | 45 nir_dest_num_components(intr->dest), in lower_load_base_global_invocation_id() 63 nir_dest_num_components(intr->dest), in lower_load_work_dim() 81 nir_dest_num_components(intr->dest), in lower_load_num_workgroups() 99 nir_dest_num_components(intr->dest), in lower_load_base_workgroup_id() 173 glsl_vector_type(base_type, nir_dest_num_components(intr->dest)); in lower_load_kernel_input()
|
/third_party/mesa3d/src/panfrost/util/ |
D | nir_mod_helpers.c | 111 unsigned nr_components = nir_dest_num_components(alu->dest.dest); in pan_has_dest_mod() 113 if (nir_dest_num_components(*dest) != nr_components) in pan_has_dest_mod()
|
/third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
D | sfn_nir_lower_64bit.cpp | 134 int old_components = nir_dest_num_components(intr->dest); in lower() 185 return nir_dest_num_components(phi->dest) == 64; in filter() 209 auto mask = nir_component_mask(nir_dest_num_components(alu->dest.dest)); in lower() 211 nir_imm_zero(b, nir_dest_num_components(alu->dest.dest), 64)); in lower() 313 return nir_dest_num_components(intr->dest) >= 3; in filter() 330 if (nir_dest_num_components(alu->dest.dest) < 3) in filter() 541 unsigned old_components = nir_dest_num_components(load1->dest); in split_double_load() 591 unsigned second_components = nir_dest_num_components(intr->dest) - 2; in split_double_load_uniform() 618 unsigned second_components = nir_dest_num_components(intr->dest) - 2; in split_double_load_ssbo() 638 unsigned second_components = nir_dest_num_components(intr->dest) - 2; in split_double_load_ubo() [all …]
|
D | sfn_instr_alu.cpp | 1421 (nir_dest_num_components(alu.dest.dest) == 1)) ? pin_free : pin_none; in pin_for_components() 1439 for (unsigned i = 0; i < nir_dest_num_components(alu.dest.dest) ; ++i) { in emit_alu_op1_64bit() 1462 for (unsigned i = 0; i < nir_dest_num_components(alu.dest.dest) ; ++i) { in emit_alu_mov_64bit() 1486 for (unsigned i = 0; i < nir_dest_num_components(alu.dest.dest) ; ++i) { in emit_alu_neg() 1506 assert(nir_dest_num_components(alu.dest.dest) == 1); in emit_alu_abs64() 1533 assert(num_emit0 == 1 || nir_dest_num_components(alu.dest.dest) == 1); in emit_alu_op2_64bit() 1536 for (unsigned k = 0; k < nir_dest_num_components(alu.dest.dest); ++k) { in emit_alu_op2_64bit() 1589 for (unsigned k = 0; k < nir_dest_num_components(alu.dest.dest); ++k) { in emit_alu_op2_64bit_one_dst() 1676 for (unsigned i = 0; i < nir_dest_num_components(alu.dest.dest) ; ++i) { in emit_alu_b2f64() 1704 assert(nir_dest_num_components(alu.dest.dest) == 1); in emit_alu_i2f64() [all …]
|
D | sfn_shader_fs.cpp | 87 for (unsigned i = 0; i < nir_dest_num_components(intr->dest) ; ++i) { in load_input() 205 for (unsigned i = 0; i < nir_dest_num_components(intr->dest); ++i) in load_interpolated_input() 641 for (unsigned i = 0; i < nir_dest_num_components(intr->dest); ++i) { in load_input_hw() 684 for (unsigned i = 0; i < nir_dest_num_components(intr->dest) ; ++i) { in load_input_hw() 762 int dest_num_comp = nir_dest_num_components(intr->dest); in load_interpolated_input_hw() 779 for (unsigned i = 0; i < nir_dest_num_components(intr->dest); ++i) { in load_interpolated_input_hw()
|
D | sfn_shader.cpp | 1112 auto pin = intr->dest.is_ssa && nir_dest_num_components(intr->dest) == 1 ? in load_uniform() 1114 for (unsigned i = 0; i < nir_dest_num_components(intr->dest); ++i) { in load_uniform() 1209 for (unsigned i = 0; i < nir_dest_num_components(instr->dest); ++i) { in load_ubo() 1231 auto pin = instr->dest.is_ssa && nir_dest_num_components(instr->dest) == 1 ? in load_ubo() 1233 for (unsigned i = 0; i < nir_dest_num_components(instr->dest); ++i) { in load_ubo() 1251 for (unsigned i = 0; i < nir_dest_num_components(instr->dest); ++i) { in load_ubo()
|
D | sfn_nir_legalize_image_load_store.cpp | 48 default_value = nir_imm_zero(b, nir_dest_num_components(ir->dest), in r600_legalize_image_load_store_impl()
|
D | sfn_nir_lower_tess_io.cpp | 203 mq.full_mask = (1 << nir_dest_num_components(op->dest)) - 1; in get_dest_usee_mask() 252 int comps = nir_dest_num_components(op->dest); in replace_load_instr()
|
D | sfn_shader_gs.cpp | 325 for (unsigned i = 0; i < nir_dest_num_components(instr->dest); ++i) { in emit_load_per_vertex_input()
|
D | sfn_instr_mem.cpp | 544 int comp_idx = nir_dest_num_components(intr->dest) - 1; in emit_ssbo_load() 812 nir_intrinsic_image_array(intrin) && nir_dest_num_components(intrin->dest) > 2) { in emit_image_size()
|
D | sfn_nir.cpp | 437 switch (nir_dest_num_components(op->dest)) { in r600_lower_shared_io_impl() 457 load->num_components = nir_dest_num_components(op->dest); in r600_lower_shared_io_impl()
|
/third_party/mesa3d/src/gallium/drivers/etnaviv/ |
D | etnaviv_compiler_nir_ra.c | 147 unsigned comp = nir_dest_num_components(*dest) - 1; in etna_ra_assign() 210 }[nir_dest_num_components(*dest) - 1]; in etna_ra_assign()
|
/third_party/mesa3d/src/panfrost/bifrost/ |
D | bi_lower_divergent_indirects.c | 98 nir_vec(b, zeroes, nir_dest_num_components(intr->dest)) : NULL; in bi_lower_divergent_indirects_impl()
|
/third_party/mesa3d/src/panfrost/midgard/ |
D | midgard_derivatives.c | 99 unsigned nr_components = nir_dest_num_components(instr->dest.dest); in midgard_emit_derivatives()
|
/third_party/mesa3d/src/compiler/nir/ |
D | nir_split_64bit_vec3_and_vec4.c | 56 return nir_dest_num_components(intr->dest) >= 3; in nir_split_64bit_vec3_and_vec4_filter() 74 return nir_dest_num_components(phi->dest) >= 3; in nir_split_64bit_vec3_and_vec4_filter()
|
D | nir_lower_flrp.c | 233 const unsigned num_components = nir_dest_num_components(instr->dest.dest); in all_same_constant() 269 const unsigned num_components = nir_dest_num_components(instr->dest.dest); in sources_are_constants_with_similar_magnitudes()
|
D | nir_opt_phi_precision.c | 413 unsigned num_comp = nir_dest_num_components(alu->dest.dest); in try_move_widening_src()
|
/third_party/mesa3d/src/microsoft/spirv_to_dxil/ |
D | dxil_spirv_nir.c | 136 nir_dest_num_components(intrin->dest), nir_dest_bit_size(intrin->dest)); in lower_shader_system_values() 225 nir_dest_num_components(intrin->dest), nir_dest_bit_size(intrin->dest)); in lower_load_push_constant() 464 nir_ssa_undef(b, nir_dest_num_components(intr->dest), in kill_undefined_varyings()
|
/third_party/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_nir.c | 1191 const unsigned num_components = nir_dest_num_components(instr->dest.dest); in visit_alu() 1391 unsigned nc = nir_dest_num_components(instr->dest); in visit_load_input() 1447 unsigned nc = nir_dest_num_components(instr->dest); in visit_load_var() 1511 bld_base->load_ubo(bld_base, nir_dest_num_components(instr->dest), in visit_load_ubo() 1527 bld_base->load_ubo(bld_base, nir_dest_num_components(instr->dest), in visit_load_push_constant() 1541 … bld_base->load_mem(bld_base, nir_dest_num_components(instr->dest), nir_dest_bit_size(instr->dest), in visit_load_ssbo() 1814 … bld_base->load_mem(bld_base, nir_dest_num_components(instr->dest), nir_dest_bit_size(instr->dest), in visit_shared_load() 1877 bld_base->load_kernel_arg(bld_base, nir_dest_num_components(instr->dest), in visit_load_kernel_input() 1891 …bld_base->load_global(bld_base, nir_dest_num_components(instr->dest), nir_dest_bit_size(instr->des… in visit_load_global() 1952 unsigned num_components = nir_dest_num_components(instr->dest); in visit_interp() [all …]
|
/third_party/mesa3d/src/gallium/drivers/zink/nir_to_spirv/ |
D | nir_to_spirv.c | 343 return get_uvec_type(ctx, bit_size, nir_dest_num_components(*dest)); in get_dest_uvec_type() 1273 unsigned num_components = nir_dest_num_components(*dest); in store_dest() 1887 unsigned num_components = nir_dest_num_components(*dest); in get_dest_type() 1919 unsigned num_components = nir_dest_num_components(alu->dest.dest); in emit_alu() 2353 unsigned num_components = nir_dest_num_components(intr->dest); in emit_load_deref() 2416 unsigned num_components = nir_dest_num_components(intr->dest); in emit_load_shared() 2478 unsigned num_components = nir_dest_num_components(intr->dest); in emit_load_push_const() 2554 assert(1 == nir_dest_num_components(intr->dest)); in emit_load_front_face() 2583 assert(1 == nir_dest_num_components(intr->dest)); in emit_load_uint_input() 2594 var_type = get_bvec_type(ctx, nir_dest_num_components(intr->dest)); in emit_load_vec_input() [all …]
|
/third_party/mesa3d/src/intel/compiler/ |
D | brw_mesh.cpp | 54 nir_dest_num_components(intrin->dest) == 1) { in brw_nir_lower_load_uniforms_impl() 1022 unsigned comps = nir_dest_num_components(instr->dest); in emit_urb_direct_reads() 1066 unsigned comps = nir_dest_num_components(instr->dest); in emit_urb_indirect_reads()
|
/third_party/mesa3d/src/panfrost/vulkan/ |
D | panvk_vX_shader.c | 193 nir_load_ubo(b, nir_dest_num_components(intr->dest), in panvk_lower_load_push_constant()
|