mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-03 11:30:21 +01:00
radv/gfx10: fix number of GS invocations for NGG
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
This commit is contained in:
parent
812ce2ce9e
commit
8bc3ab6f0c
1 changed files with 1 additions and 1 deletions
|
|
@ -1651,7 +1651,7 @@ calculate_ngg_info(const VkGraphicsPipelineCreateInfo *pCreateInfo,
|
|||
unsigned max_verts_per_prim = radv_get_num_input_vertices(pipeline);
|
||||
unsigned min_verts_per_prim =
|
||||
gs_type == MESA_SHADER_GEOMETRY ? max_verts_per_prim : 1;
|
||||
unsigned gs_num_invocations = 1;//MAX2(gs_info->gs.invocations, 1);
|
||||
unsigned gs_num_invocations = radv_pipeline_has_gs(pipeline) ? MAX2(gs_info->gs.invocations, 1) : 1;
|
||||
bool uses_adjacency;
|
||||
switch(pCreateInfo->pInputAssemblyState->topology) {
|
||||
case VK_PRIMITIVE_TOPOLOGY_LINE_LIST_WITH_ADJACENCY:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue