diff options
author | Bas Nieuwenhuizen <[email protected]> | 2017-10-21 20:16:57 +0200 |
---|---|---|
committer | Bas Nieuwenhuizen <[email protected]> | 2017-10-21 22:29:09 +0200 |
commit | 3bf954b28ec79340227a366576382c719754dec5 (patch) | |
tree | ca1fb9e45dbd191255c25f74e2b1c3d65f13316a /src/amd/vulkan | |
parent | 050f7e2df2ea4230320952f16e9f9558bcf6d5d3 (diff) |
radv: Don't check for max GL GS invocations.
We specify 127 instead of 32 as the limit in vulkan.
Fixes: 6bc42855f92 'radv: enable GS on GFX9'
Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/amd/vulkan')
-rw-r--r-- | src/amd/vulkan/radv_pipeline.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/amd/vulkan/radv_pipeline.c b/src/amd/vulkan/radv_pipeline.c index eac4456a3fb..db550811eaf 100644 --- a/src/amd/vulkan/radv_pipeline.c +++ b/src/amd/vulkan/radv_pipeline.c @@ -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; else |