mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 22:49:13 +02:00
radv: set max workgroup size to 128 for TES as NGG on GFX10
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
53c75f17ec
commit
2974df819e
1 changed files with 1 additions and 1 deletions
|
|
@ -3721,7 +3721,7 @@ LLVMModuleRef ac_translate_nir_to_llvm(struct ac_llvm_compiler *ac_llvm,
|
|||
}
|
||||
|
||||
if (ctx.ac.chip_class >= GFX10) {
|
||||
if (shaders[0]->info.stage == MESA_SHADER_VERTEX &&
|
||||
if (is_pre_gs_stage(shaders[0]->info.stage) &&
|
||||
options->key.vs.out.as_ngg) {
|
||||
ctx.max_workgroup_size = 128;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue