Home
last modified time | relevance | path

Searched refs:primgroup_size (Results 1 – 5 of 5) sorted by relevance

/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state_draw.c488 unsigned primgroup_size; in si_get_ia_multi_vgt_param() local
492 primgroup_size = num_patches; /* must be a multiple of NUM_PATCHES */ in si_get_ia_multi_vgt_param()
494 primgroup_size = 64; /* recommended with a GS */ in si_get_ia_multi_vgt_param()
496 primgroup_size = 128; /* recommended without a GS and tess */ in si_get_ia_multi_vgt_param()
505 … si_num_prims_for_vertices(prim, min_vertex_count, info->vertices_per_patch) < primgroup_size)); in si_get_ia_multi_vgt_param()
511 sctx->ia_multi_vgt_param[key.index] | S_028AA8_PRIMGROUP_SIZE(primgroup_size - 1); in si_get_ia_multi_vgt_param()
516 SI_GS_PER_ES / primgroup_size >= sctx->screen->gs_table_depth - 3) in si_get_ia_multi_vgt_param()
693 unsigned primgroup_size; in gfx10_emit_ge_cntl() local
697 primgroup_size = num_patches; /* must be a multiple of NUM_PATCHES */ in gfx10_emit_ge_cntl()
701 primgroup_size = G_028A44_GS_PRIMS_PER_SUBGRP(vgt_gs_onchip_cntl); in gfx10_emit_ge_cntl()
[all …]
/external/mesa3d/src/amd/vulkan/
Dradv_pipeline.c1392 …ia_multi_vgt_param.primgroup_size = pipeline->shaders[MESA_SHADER_TESS_CTRL]->info.tcs.num_patches; in radv_compute_ia_multi_vgt_param_helpers()
1394 ia_multi_vgt_param.primgroup_size = 64; in radv_compute_ia_multi_vgt_param_helpers()
1396 ia_multi_vgt_param.primgroup_size = 128; /* recommended without a GS */ in radv_compute_ia_multi_vgt_param_helpers()
1401 if (SI_GS_PER_ES / ia_multi_vgt_param.primgroup_size >= pipeline->device->gs_table_depth - 3) in radv_compute_ia_multi_vgt_param_helpers()
1457 S_028AA8_PRIMGROUP_SIZE(ia_multi_vgt_param.primgroup_size - 1) | in radv_compute_ia_multi_vgt_param_helpers()
5009 unsigned primgroup_size; in gfx10_pipeline_generate_ge_cntl() local
5013 primgroup_size = pipeline->shaders[MESA_SHADER_TESS_CTRL]->info.tcs.num_patches; in gfx10_pipeline_generate_ge_cntl()
5018 primgroup_size = G_028A44_GS_PRIMS_PER_SUBGRP(vgt_gs_onchip_cntl); in gfx10_pipeline_generate_ge_cntl()
5020 primgroup_size = 128; /* recommended without a GS and tess */ in gfx10_pipeline_generate_ge_cntl()
5030 S_03096C_PRIM_GRP_SIZE(primgroup_size) | in gfx10_pipeline_generate_ge_cntl()
Dsi_cmd_buffer.c822 if (num_prims < cmd_buffer->state.pipeline->graphics.ia_multi_vgt_param.primgroup_size) in si_get_ia_multi_vgt_param()
Dradv_private.h1705 uint8_t primgroup_size; member
/external/mesa3d/src/gallium/drivers/r600/
Dr600_state_common.c2228 unsigned primgroup_size = 128; /* recommended without a GS */ in r600_draw_vbo() local
2233 primgroup_size = 64; /* recommended with a GS */ in r600_draw_vbo()
2246 S_028AA8_PRIMGROUP_SIZE(primgroup_size - 1)); in r600_draw_vbo()