radv: Don't check for max GL GS invocations.
We specify 127 instead of 32 as the limit in vulkan.
Fixes: 6bc42855f9
'radv: enable GS on GFX9'
Reviewed-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
050f7e2df2
commit
3bf954b28e
|
@ -1196,8 +1196,6 @@ static void calculate_gfx9_gs_info(const VkGraphicsPipelineCreateInfo *pCreateIn
|
||||||
unsigned max_gs_prims, gs_prims;
|
unsigned max_gs_prims, gs_prims;
|
||||||
unsigned min_es_verts, es_verts, worst_case_es_verts;
|
unsigned min_es_verts, es_verts, worst_case_es_verts;
|
||||||
|
|
||||||
assert(gs_num_invocations <= 32); /* GL maximum */
|
|
||||||
|
|
||||||
if (uses_adjacency || gs_num_invocations > 1)
|
if (uses_adjacency || gs_num_invocations > 1)
|
||||||
max_gs_prims = 127 / gs_num_invocations;
|
max_gs_prims = 127 / gs_num_invocations;
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue