Commit 3bf954b2 authored by Bas Nieuwenhuizen's avatar Bas Nieuwenhuizen
Browse files

radv: Don't check for max GL GS invocations.

We specify 127 instead of 32 as the limit in vulkan.

Fixes: 6bc42855

 'radv: enable GS on GFX9'
Reviewed-by: default avatarDave Airlie <>
parent 050f7e2d
......@@ -1196,8 +1196,6 @@ static void calculate_gfx9_gs_info(const VkGraphicsPipelineCreateInfo *pCreateIn
unsigned max_gs_prims, gs_prims;
unsigned min_es_verts, es_verts, worst_case_es_verts;
assert(gs_num_invocations <= 32); /* GL maximum */
if (uses_adjacency || gs_num_invocations > 1)
max_gs_prims = 127 / gs_num_invocations;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment