radv/llvm: Remove incorrect hardcoded workgroup size from NGG GS.

Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12792>
This commit is contained in:
Timur Kristóf 2021-09-09 15:11:43 +02:00 committed by Marge Bot
parent 7e7d6d8c73
commit d3dcd294c0
1 changed files with 0 additions and 6 deletions

View File

@ -2044,12 +2044,6 @@ ac_translate_nir_to_llvm(struct ac_llvm_compiler *ac_llvm,
ctx.max_workgroup_size = info->workgroup_size;
if (ctx.ac.gfx_level >= GFX10) {
if (is_pre_gs_stage(shaders[0]->info.stage) && info->is_ngg) {
ctx.max_workgroup_size = 128;
}
}
create_function(&ctx, shaders[shader_count - 1]->info.stage, shader_count >= 2);
ctx.abi.intrinsic_load = radv_intrinsic_load;