/third_party/mesa3d/src/gallium/drivers/svga/ |
D | svga_link.c | 62 assert(inshader_info->num_inputs <= in svga_link_shaders() 68 for (i = 0; i < inshader_info->num_inputs; i++) { in svga_link_shaders() 108 linkage->num_inputs = inshader_info->num_inputs; in svga_link_shaders() 112 for (i = 0; i < inshader_info->num_inputs; i++) { in svga_link_shaders() 128 linkage->num_inputs, linkage->input_map_max, in svga_link_shaders() 131 for (i = 0; i < linkage->num_inputs; i++) { in svga_link_shaders()
|
D | svga_state_vs.c | 272 unsigned num_inputs; in compile_passthrough_vs() local 285 num_inputs = fs->base.info.num_inputs; in compile_passthrough_vs() 304 for (i = 0; i < num_inputs; i++) { in compile_passthrough_vs()
|
D | svga_link.h | 11 unsigned num_inputs; /* number of inputs in the current shader */ member
|
/third_party/mesa3d/src/compiler/nir/ |
D | nir_lower_passthrough_edgeflags.c | 41 assert(shader->num_inputs == 0 || in lower_impl() 42 shader->num_inputs == util_bitcount64(shader->info.inputs_read)); in lower_impl() 56 .base = shader->num_inputs++, in lower_impl() 82 in->data.driver_location = shader->num_inputs++; in lower_impl()
|
D | nir_lower_vec_to_movs.c | 64 assert(start_idx < nir_op_infos[vec->op].num_inputs); in insert_mov() 135 assert(start_idx < nir_op_infos[vec->op].num_inputs); in try_coalesce() 181 for (unsigned j = 0; j < nir_op_infos[src_alu->op].num_inputs; j++) in try_coalesce() 188 for (unsigned j = 0; j < nir_op_infos[src_alu->op].num_inputs; j++) in try_coalesce() 222 for (unsigned j = 0; j < nir_op_infos[src_alu->op].num_inputs; j++) in try_coalesce()
|
D | nir_move_vec_src_uses_to_dest.c | 96 for (unsigned i = 0; i < nir_op_infos[vec->op].num_inputs; i++) { in move_vec_src_uses_to_dest_block() 116 for (unsigned j = i; j < nir_op_infos[vec->op].num_inputs; j++) { in move_vec_src_uses_to_dest_block() 146 assert(src_idx < nir_op_infos[use_alu->op].num_inputs); in move_vec_src_uses_to_dest_block()
|
D | nir_opt_vectorize.c | 68 for (unsigned i = 0; i < nir_op_infos[alu->op].num_inputs; i++) in hash_instr() 119 for (unsigned i = 0; i < nir_op_infos[alu1->op].num_inputs; i++) { in instrs_equal() 153 for (unsigned i = 0; i < nir_op_infos[alu->op].num_inputs; i++) { in instr_can_rewrite() 226 for (unsigned i = 0; i < nir_op_infos[alu1->op].num_inputs; i++) { in instr_try_combine() 309 for (unsigned i = 0; i < nir_op_infos[use->op].num_inputs; i++) { in instr_try_combine()
|
D | nir_opt_rematerialize_compares.c | 63 for (unsigned i = 0; i < nir_op_infos[instr->op].num_inputs; i++) { in all_srcs_are_ssa() 141 for (unsigned i = 0; i < nir_op_infos[use_alu->op].num_inputs; i++) { in nir_opt_rematerialize_compares_impl()
|
D | nir_opt_undef.c | 84 for (unsigned i = 0; i < nir_op_infos[alu->op].num_inputs; i++) { in opt_undef_vecN() 113 for (int i = 0; i < nir_op_infos[alu->op].num_inputs; i++) { in nir_get_undef_mask()
|
D | nir_lower_to_source_mods.c | 62 bool lower_abs = (nir_op_infos[alu->op].num_inputs < 3) || in nir_lower_to_source_mods_block() 65 for (unsigned i = 0; i < nir_op_infos[alu->op].num_inputs; i++) { in nir_lower_to_source_mods_block()
|
D | nir_loop_analyze.c | 174 for (unsigned i = 0; i < info->num_inputs; i++) { in instr_cost() 256 for (unsigned i = 0; i < nir_op_infos[alu->op].num_inputs; i++) { in mark_invariant() 346 for (unsigned i = 0; i < nir_op_infos[alu->op].num_inputs; i++) { in is_only_uniform_src() 430 if (nir_op_infos[alu->op].num_inputs == 2) { in compute_induction_information() 697 assert(nir_op_infos[op].num_inputs == 1); in eval_const_unop() 709 assert(nir_op_infos[op].num_inputs == 2); in eval_const_binop() 807 assert(nir_op_infos[cond_op].num_inputs == 2); in test_iterations() 1156 assert(nir_op_infos[ind_var->alu->op].num_inputs == 2); in find_trip_count()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/ |
D | nanobenchmark.h | 147 const size_t num_inputs, Result* results, 161 const size_t num_inputs, Result* results, 164 reinterpret_cast<const void*>(&closure), inputs, num_inputs,
|
D | nanobenchmark.cc | 549 InputVec UniqueInputs(const FuncInput* inputs, const size_t num_inputs) { in UniqueInputs() argument 550 InputVec unique(inputs, inputs + num_inputs); in UniqueInputs() 596 InputVec ReplicateInputs(const FuncInput* inputs, const size_t num_inputs, in ReplicateInputs() argument 605 full.reserve(p.subset_ratio * num_skip * num_inputs); in ReplicateInputs() 607 full.insert(full.end(), inputs, inputs + num_inputs); in ReplicateInputs() 781 const size_t num_inputs, Result* results, const Params& p) { in Measure() argument 782 ABSL_RAW_CHECK(num_inputs != 0, "No inputs"); in Measure() 784 const InputVec unique = UniqueInputs(inputs, num_inputs); in Measure() 789 ReplicateInputs(inputs, num_inputs, unique.size(), num_skip, p); in Measure()
|
/third_party/abseil-cpp/absl/random/internal/ |
D | nanobenchmark.h | 147 const size_t num_inputs, Result* results, 161 const size_t num_inputs, Result* results, 164 reinterpret_cast<const void*>(&closure), inputs, num_inputs,
|
D | nanobenchmark.cc | 549 InputVec UniqueInputs(const FuncInput* inputs, const size_t num_inputs) { in UniqueInputs() argument 550 InputVec unique(inputs, inputs + num_inputs); in UniqueInputs() 596 InputVec ReplicateInputs(const FuncInput* inputs, const size_t num_inputs, in ReplicateInputs() argument 605 full.reserve(p.subset_ratio * num_skip * num_inputs); in ReplicateInputs() 607 full.insert(full.end(), inputs, inputs + num_inputs); in ReplicateInputs() 781 const size_t num_inputs, Result* results, const Params& p) { in Measure() argument 782 ABSL_RAW_CHECK(num_inputs != 0, "No inputs"); in Measure() 784 const InputVec unique = UniqueInputs(inputs, num_inputs); in Measure() 789 ReplicateInputs(inputs, num_inputs, unique.size(), num_skip, p); in Measure()
|
/third_party/mesa3d/src/microsoft/compiler/ |
D | dxil_signature.c | 472 unsigned num_inputs, in get_input_signature_group() argument 480 mod->inputs[num_inputs].sysvalue = semantic.sysvalue_name; in get_input_signature_group() 483 mod->inputs[num_inputs].name = ralloc_strdup(mod->ralloc_ctx, in get_input_signature_group() 485 mod->inputs[num_inputs].num_elements = semantic.rows; in get_input_signature_group() 486 struct dxil_signature_element *elm = mod->inputs[num_inputs].elements; in get_input_signature_group() 487 struct dxil_psv_signature_element *psv_elm = &mod->psv_inputs[num_inputs]; in get_input_signature_group() 489 if (!fill_io_signature(mod, num_inputs, &semantic, in get_input_signature_group() 490 &inputs[num_inputs], elm, psv_elm)) in get_input_signature_group() 501 ++num_inputs; in get_input_signature_group() 502 assert(num_inputs < VARYING_SLOT_MAX); in get_input_signature_group() [all …]
|
/third_party/mesa3d/src/gallium/auxiliary/tgsi/ |
D | tgsi_two_side.c | 54 uint num_inputs; member 87 ts->num_inputs = MAX2(ts->num_inputs, range_end); in xform_decl() 115 decl.Range.First = decl.Range.Last = ts->num_inputs++; in emit_prolog() 140 decl.Range.First = decl.Range.Last = ts->num_inputs++; in emit_prolog()
|
D | tgsi_emulate.c | 71 decl.Range.First = decl.Range.Last = ctx->info.num_inputs; in passthrough_edgeflag() 94 new_inst.Src[0].Register.Index = ctx->info.num_inputs; in passthrough_edgeflag()
|
/third_party/mesa3d/src/compiler/spirv/ |
D | vtn_alu.c | 478 const unsigned num_inputs = count - 3; in vtn_handle_alu() local 480 for (unsigned i = 0; i < num_inputs; i++) in vtn_handle_alu() 484 (num_inputs >= 2 && glsl_type_is_matrix(vtn_src[1]->type))) { in vtn_handle_alu() 493 for (unsigned i = 0; i < num_inputs; i++) { in vtn_handle_alu() 755 for (unsigned i = 0; i < nir_op_infos[op].num_inputs; i++) { in vtn_handle_alu() 874 const unsigned num_inputs = (opcode == SpvOpSDotAccSatKHR || in vtn_handle_integer_dot() local 878 vtn_assert(count >= num_inputs + 3); in vtn_handle_integer_dot() 883 for (unsigned i = 0; i < num_inputs; i++) { in vtn_handle_integer_dot() 906 if (num_inputs == 3) { in vtn_handle_integer_dot() 950 vtn_assert(count == (num_inputs + 4)); in vtn_handle_integer_dot() [all …]
|
D | vtn_amd.c | 123 unsigned num_inputs = count - 5; in vtn_handle_amd_shader_trinary_minmax_instruction() local 124 assert(num_inputs == 3); in vtn_handle_amd_shader_trinary_minmax_instruction() 126 for (unsigned i = 0; i < num_inputs; i++) in vtn_handle_amd_shader_trinary_minmax_instruction()
|
/third_party/mesa3d/src/panfrost/util/ |
D | nir_mod_helpers.c | 51 assert(nir_op_infos[op].num_inputs == 1); in pan_has_source_mod() 85 assert(nir_op_infos[op].num_inputs == 1); in pan_has_dest_mod()
|
/third_party/mesa3d/src/gallium/auxiliary/vl/ |
D | vl_vlc.h | 179 vl_vlc_init(struct vl_vlc *vlc, unsigned num_inputs, in vl_vlc_init() argument 185 assert(num_inputs); in vl_vlc_init() 193 for (i = 0; i < num_inputs; ++i) in vl_vlc_init()
|
/third_party/mesa3d/src/mesa/state_tracker/ |
D | st_cb_bitmap_shader.c | 76 for (i = 0; i < ctx->info.num_inputs; i++) { in transform_instr() 85 texcoord_index = ctx->info.num_inputs; in transform_instr()
|
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_state_setup.c | 488 for (slot = 0; slot < key->num_inputs; slot++) { in emit_tri_coef() 777 key->num_inputs = fs->info.base.num_inputs; in lp_make_setup_variant_key() 783 inputs[key->num_inputs]); in lp_make_setup_variant_key() 808 memcpy(key->inputs, fs->inputs, key->num_inputs * sizeof key->inputs[0]); in lp_make_setup_variant_key() 809 for (i = 0; i < key->num_inputs; i++) { in lp_make_setup_variant_key() 941 for (slot = 0; slot < key->num_inputs; slot++) { in lp_dump_setup_coef()
|
/third_party/mesa3d/src/gallium/drivers/lima/standalone/ |
D | lima_compiler_cmdline.c | 143 nir_assign_var_locations(nir, nir_var_shader_in, &nir->num_inputs, in load_glsl() 156 nir_assign_var_locations(nir, nir_var_shader_in, &nir->num_inputs, in load_glsl()
|