Home
last modified time | relevance | path

Searched refs:num_prims (Results 1 – 9 of 9) sorted by relevance

/external/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_vsc.c92 unsigned num_prims = prim_count(info); in primitive_stream_size_bits() local
97 ) * DIV_ROUND_UP(num_prims, 2); in primitive_stream_size_bits()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_prim_assembler.c53 unsigned num_prims; member
117 ++asmblr->num_prims; in copy_verts()
244 asmblr->num_prims = 0; in draw_prim_assembler_run()
Ddraw_llvm.h447 unsigned num_prims,
679 LLVMValueRef num_prims; member
704 LLVMValueRef num_prims; member
730 LLVMValueRef num_prims; member
Ddraw_llvm.c2700 LLVMValueRef num_prims; in generate_mask_value() local
2704 num_prims = lp_build_broadcast(gallivm, lp_build_vec_type(gallivm, mask_type), in generate_mask_value()
2705 variant->num_prims); in generate_mask_value()
2711 PIPE_FUNC_GREATER, num_prims, mask_val); in generate_mask_value()
2730 LLVMValueRef io_ptr, input_array, num_prims, mask_val; in draw_gs_llvm_generate() local
2780 num_prims = LLVMGetParam(variant_func, 3); in draw_gs_llvm_generate()
2788 lp_build_name(num_prims, "num_prims"); in draw_gs_llvm_generate()
2795 variant->num_prims = num_prims; in draw_gs_llvm_generate()
3727 LLVMValueRef num_prims; in generate_tes_mask_value() local
3731 num_prims = lp_build_broadcast(gallivm, lp_build_vec_type(gallivm, mask_type), limit); in generate_tes_mask_value()
[all …]
Ddraw_pt_fetch_shade_pipeline_llvm.c657 unsigned num_prims = prim_info->count / draw->pt.vertices_per_patch; in llvm_pipeline_generic() local
659 tcs_prim_info.primitive_count = num_prims; in llvm_pipeline_generic()
Ddraw_gs.c385 int num_prims = shader->llvm_emitted_primitives[i + (stream * shader->vector_length)]; in llvm_fetch_gs_outputs() local
386 for (j = 0; j < num_prims; ++j) { in llvm_fetch_gs_outputs()
/external/mesa3d/src/gallium/drivers/iris/
Diris_query.c94 uint64_t num_prims[2]; member
258 stream[s].num_prims[end]); in write_overflow_values()
283 (so->stream[s].num_prims[1] - so->stream[s].num_prims[0]); in stream_overflowed()
345 return gen_mi_isub(b, gen_mi_isub(b, C(num_prims, 1), C(num_prims, 0)), in calc_overflow_for_stream()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_compute_prim_discard.c974 unsigned num_prims = num_prims_per_instance * instance_count; in si_prepare_prim_discard_or_split_draw() local
975 unsigned out_indexbuf_size = num_prims * 12; in si_prepare_prim_discard_or_split_draw()
982 if (ring_full && num_prims > split_prims_draw_level && in si_prepare_prim_discard_or_split_draw()
1069 unsigned num_subdraws = DIV_ROUND_UP(num_prims, SPLIT_PRIMS_PACKET_LEVEL) * num_draws; in si_prepare_prim_discard_or_split_draw()
1150 unsigned num_prims = num_prims_per_instance * info->instance_count; in si_dispatch_prim_discard_cs_and_draw() local
1167 uint64_t output_indexbuf_size = num_prims * vertices_per_prim * 4; in si_dispatch_prim_discard_cs_and_draw()
1293 desc[6] = num_prims * (sctx->chip_class == GFX8 ? vertices_per_prim * 4 : 1); in si_dispatch_prim_discard_cs_and_draw()
1400 for (unsigned start_prim = 0; start_prim < num_prims; start_prim += SPLIT_PRIMS_PACKET_LEVEL) { in si_dispatch_prim_discard_cs_and_draw()
1403 if (start_prim + SPLIT_PRIMS_PACKET_LEVEL < num_prims) in si_dispatch_prim_discard_cs_and_draw()
1406 num_subdraw_prims = num_prims - start_prim; in si_dispatch_prim_discard_cs_and_draw()
[all …]
/external/mesa3d/src/amd/vulkan/
Dsi_cmd_buffer.c821 uint32_t num_prims = radv_prims_for_vertices(&prim_vertex_count, draw_vertex_count); in si_get_ia_multi_vgt_param() local
822 if (num_prims < cmd_buffer->state.pipeline->graphics.ia_multi_vgt_param.primgroup_size) in si_get_ia_multi_vgt_param()
899 uint32_t num_prims = radv_prims_for_vertices(&prim_vertex_count, draw_vertex_count); in si_get_ia_multi_vgt_param() local
900 if (num_prims <= 1) in si_get_ia_multi_vgt_param()