mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 19:30:11 +01:00
radeonsi: bump PRIMGROUP_SIZE for some cases
Recommended by hw people. Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
This commit is contained in:
parent
4be7ff5567
commit
f62f88274a
1 changed files with 4 additions and 1 deletions
|
|
@ -384,13 +384,16 @@ static unsigned si_get_ia_multi_vgt_param(struct si_context *sctx,
|
|||
{
|
||||
struct si_state_rasterizer *rs = sctx->queued.named.rasterizer;
|
||||
unsigned prim = info->mode;
|
||||
unsigned primgroup_size = 64;
|
||||
unsigned primgroup_size = 128; /* recommended without a GS */
|
||||
|
||||
/* SWITCH_ON_EOP(0) is always preferable. */
|
||||
bool wd_switch_on_eop = false;
|
||||
bool ia_switch_on_eop = false;
|
||||
bool partial_vs_wave = false;
|
||||
|
||||
if (sctx->gs_shader)
|
||||
primgroup_size = 64; /* recommended with a GS */
|
||||
|
||||
/* This is a hardware requirement. */
|
||||
if ((rs && rs->line_stipple_enable) ||
|
||||
(sctx->b.screen->debug_flags & DBG_SWITCH_ON_EOP)) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue