| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r600/sfn/ |
| H A D | sfn_nir_lower_fs_out_to_vector.cpp | 91 nir_ssa_def **srcs, unsigned first_comp, unsigned num_comps) = 0; 104 nir_ssa_def **srcs, unsigned first_comp, unsigned num_comps) override; 209 unsigned num_comps = util_bitcount(comps); local in function:r600::NirLowerIOToVector::create_new_io_var 210 assert(num_comps > 1); 217 var->type = glsl_replace_vector_type(var->type, num_comps); 342 unsigned num_comps = glsl_get_vector_elements(glsl_without_array(new_var->type)); local in function:r600::NirLowerIOToVector::vec_instr_stack_pop 387 num_comps); 398 nir_ssa_def **srcs, unsigned first_comp, unsigned num_comps) 404 new_intr->num_components = num_comps; 406 nir_intrinsic_set_write_mask(new_intr, (1 << num_comps) 397 create_new_io(nir_builder * b,nir_intrinsic_instr * intr,nir_variable * var,nir_ssa_def ** srcs,unsigned first_comp,unsigned num_comps) argument [all...] |
| H A D | sfn_nir_vectorize_vs_inputs.c | 141 unsigned comp, unsigned num_comps, unsigned old_num_comps) 151 nir_ssa_dest_init(&new_intr->instr, &new_intr->dest, num_comps, 153 new_intr->num_components = num_comps; 194 unsigned num_comps = local in function:r600_vec_instr_stack_pop 210 num_comps, old_num_comps); 350 unsigned num_comps = util_bitcount(comps); local in function:r600_create_new_io_var 351 assert(num_comps > 1); 358 var->type = glsl_replace_vector_type(var->type, num_comps); 140 r600_create_new_load(nir_builder * b,nir_intrinsic_instr * intr,nir_variable * var,unsigned comp,unsigned num_comps,unsigned old_num_comps) argument
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/draw/ |
| H A D | draw_pt_so_emit.c | 144 unsigned num_comps = state->output[slot].num_components; local in function:so_emit_prim 147 unsigned write_size = num_comps * sizeof(float); 181 unsigned num_comps = state->output[slot].num_components; local in function:so_emit_prim 196 num_comps * sizeof(float)); 199 num_comps * sizeof(float)); 206 slot, start_comp, num_comps, idx); 207 for (j = 0; j < num_comps; ++j) {
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/draw/ |
| H A D | draw_pt_so_emit.c | 148 unsigned num_comps = state->output[slot].num_components; local in function:so_emit_prim 151 unsigned write_size = num_comps * sizeof(float); 185 unsigned num_comps = state->output[slot].num_components; local in function:so_emit_prim 200 num_comps * sizeof(float)); 203 num_comps * sizeof(float)); 210 slot, start_comp, num_comps, idx); 211 for (j = 0; j < num_comps; ++j) {
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/radeonsi/ |
| H A D | si_shader_llvm_vs.c | 278 unsigned num_comps = stream_out->num_components; local in function:si_llvm_streamout_store_output 281 assert(num_comps && num_comps <= 4); 282 if (!num_comps || num_comps > 4) 286 for (int j = 0; j < num_comps; j++) { 295 switch (num_comps) { 302 vdata = ac_build_gather_values(&ctx->ac, out, num_comps); 309 vdata = ac_build_gather_values(&ctx->ac, out, util_next_power_of_two(num_comps)); 313 ac_build_buffer_store_dword(&ctx->ac, so_buffers[buf_idx], vdata, num_comps, [all...] |
| /xsrc/external/mit/MesaLib/dist/src/compiler/nir/ |
| H A D | nir_lower_io.c | 358 const unsigned num_comps = local in function:lower_load 364 num_comps * 2, 32, nir_type_uint32); 365 for (unsigned i = 0; i < num_comps; i++) { 372 dest_comp += num_comps; 468 const unsigned num_comps = local in function:lower_store 472 if (write_mask & BITFIELD_MASK(num_comps)) { 475 BITFIELD_RANGE(src_comp, num_comps)); 479 for (unsigned i = 0; i < num_comps; i++) { 480 if (write_mask & BITFIELD_MASK(num_comps) & (1 << i)) 491 src_comp += num_comps; 870 const unsigned num_comps = nir_address_format_num_components(addr_format); local in function:build_addr_for_var [all...] |
| H A D | nir_linking_helpers.c | 326 unsigned num_comps = 4 - var->data.location_frac; local in function:get_unmoveable_components_masks 327 comps_slot2 = (elements * dmul) - num_comps; 335 ((1 << num_comps) - 1) << var->data.location_frac;
|
| /xsrc/external/mit/MesaLib/dist/src/microsoft/clc/ |
| H A D | clc_compiler.c | 575 unsigned num_comps = intrin->dest.ssa.num_components; local in function:split_unaligned_load 584 unsigned num_loads = DIV_ROUND_UP(comp_size * num_comps, alignment); 590 nir_ssa_def *new_dest = nir_extract_bits(b, srcs, num_loads, 0, num_comps, intrin->dest.ssa.bit_size); 603 unsigned num_comps = value->num_components; local in function:split_unaligned_store 612 unsigned num_stores = DIV_ROUND_UP(comp_size * num_comps, alignment);
|
| /xsrc/external/mit/MesaLib.old/dist/src/compiler/nir/ |
| H A D | nir_linking_helpers.c | 308 unsigned num_comps = 4 - var->data.location_frac; local in function:get_unmoveable_components_masks 309 comps_slot2 = (elements * dmul) - num_comps; 317 ((1 << num_comps) - 1) << var->data.location_frac;
|
| /xsrc/external/mit/MesaLib/dist/src/amd/vulkan/ |
| H A D | radv_nir_to_llvm.c | 1067 unsigned num_comps = util_bitcount(output->component_mask); local in function:radv_emit_stream_output 1073 assert(num_comps && num_comps <= 4); 1074 if (!num_comps || num_comps > 4) 1081 for (int i = 0; i < num_comps; i++) { 1088 switch (num_comps) { 1099 ? util_next_power_of_two(num_comps) 1100 : num_comps); 1104 ac_build_buffer_store_dword(&ctx->ac, so_buffers[buf], vdata, num_comps, so_write_offset [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/amd/vulkan/ |
| H A D | radv_nir_to_llvm.c | 2736 unsigned num_comps = util_bitcount(output->component_mask); local in function:radv_emit_stream_output 2743 assert(num_comps && num_comps <= 4); 2744 if (!num_comps || num_comps > 4) 2751 for (int i = 0; i < num_comps; i++) { 2759 switch (num_comps) { 2769 util_next_power_of_two(num_comps)); 2774 vdata, num_comps, so_write_offsets[buf],
|
| /xsrc/external/mit/MesaLib.old/dist/src/intel/compiler/ |
| H A D | brw_vec4_visitor.cpp | 1277 unsigned num_comps = output_num_components[varying][component]; local in function:brw::vec4_visitor::emit_generic_urb_slot 1278 if (num_comps == 0) 1287 brw_writemask_for_component_packing(num_comps, component);
|
| /xsrc/external/mit/MesaLib/dist/src/intel/compiler/ |
| H A D | brw_vec4_visitor.cpp | 1182 unsigned num_comps = output_num_components[varying][component]; local in function:brw::vec4_visitor::emit_generic_urb_slot 1183 if (num_comps == 0) 1192 brw_writemask_for_component_packing(num_comps, component);
|
| /xsrc/external/mit/MesaLib/dist/src/panfrost/lib/ |
| H A D | pan_blend.c | 632 cfg.fixed_function.num_comps = desc->nr_channels;
|
| H A D | pan_blitter.c | 155 cfg.internal.fixed_function.num_comps = 4;
|
| /xsrc/external/mit/MesaLib/src/panfrost/lib/genxml/ |
| H A D | v6_pack.h | 1578 uint32_t num_comps; member in struct:MALI_BLEND_FIXED_FUNCTION 1587 .num_comps = 1, \ 1594 assert(values->num_comps >= 1); 1595 cl[ 0] = __gen_uint(values->num_comps - 1, 3, 4) | 1613 values->num_comps = __gen_unpack_uint(cl, 3, 4) + 1; 1625 fprintf(fp, "%*sNum Comps: %u\n", indent, "", values->num_comps); 1649 __gen_uint(values->fixed_function.num_comps - 1, 3, 4) | 1670 values->fixed_function.num_comps = __gen_unpack_uint(cl, 3, 4) + 1; 1733 __gen_uint(values->internal.fixed_function.num_comps - 1, 3, 4) | 1776 values->internal.fixed_function.num_comps [all...] |
| H A D | v7_pack.h | 1630 uint32_t num_comps; member in struct:MALI_BLEND_FIXED_FUNCTION 1639 .num_comps = 1, \ 1646 assert(values->num_comps >= 1); 1647 cl[ 0] = __gen_uint(values->num_comps - 1, 3, 4) | 1665 values->num_comps = __gen_unpack_uint(cl, 3, 4) + 1; 1677 fprintf(fp, "%*sNum Comps: %u\n", indent, "", values->num_comps); 1701 __gen_uint(values->fixed_function.num_comps - 1, 3, 4) | 1722 values->fixed_function.num_comps = __gen_unpack_uint(cl, 3, 4) + 1; 1785 __gen_uint(values->internal.fixed_function.num_comps - 1, 3, 4) | 1828 values->internal.fixed_function.num_comps [all...] |
| /xsrc/external/mit/MesaLib/dist/src/microsoft/compiler/ |
| H A D | dxil_nir.c | 398 lower_load_vec32(nir_builder *b, nir_ssa_def *index, unsigned num_comps, nir_ssa_def **comps, nir_intrinsic_op op) argument 400 for (unsigned i = 0; i < num_comps; i++) {
|
| /xsrc/external/mit/MesaLib/dist/src/panfrost/vulkan/ |
| H A D | panvk_vX_cs.c | 643 * num_comps must be set to 4 645 cfg.internal.fixed_function.num_comps = 4;
|
| H A D | panvk_vX_meta_clear.c | 243 cfg.internal.fixed_function.num_comps = 4;
|
| H A D | panvk_vX_meta_copy.c | 308 cfg.internal.fixed_function.num_comps = 4;
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/radeonsi/ |
| H A D | si_shader.c | 2694 unsigned num_comps = stream_out->num_components; local in function:emit_streamout_output 2697 assert(num_comps && num_comps <= 4); 2698 if (!num_comps || num_comps > 4) 2702 for (int j = 0; j < num_comps; j++) { 2711 switch (num_comps) { 2720 vdata = ac_build_gather_values(&ctx->ac, out, util_next_power_of_two(num_comps)); 2725 vdata, num_comps,
|
| /xsrc/external/mit/MesaLib.old/dist/src/amd/common/ |
| H A D | ac_nir_to_llvm.c | 4462 unsigned num_comps = intrin->dest.ssa.num_components; local in function:get_inst_tessfactor_writemask 4465 writemask = ((1 << (num_comps + 1)) - 1) << first_component; 4467 writemask = (((1 << (num_comps + 1)) - 1) << first_component) << 4;
|
| /xsrc/external/mit/MesaLib/dist/src/amd/compiler/ |
| H A D | aco_instruction_selection.cpp | 11100 unsigned num_comps = util_bitcount(output->component_mask); local in function:aco::__anon562fcc110110::emit_stream_output 11101 unsigned writemask = (1 << num_comps) - 1; 11105 assert(num_comps && num_comps <= 4); 11106 if (!num_comps || num_comps > 4) 11114 for (unsigned i = 0; i < num_comps; i++) {
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/panfrost/ |
| H A D | pan_cmdstream.c | 354 * num_comps must be set to 4 356 cfg.fixed_function.num_comps = 4;
|