mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
radeonsi: unify HS max_offchip_buffers workarounds
Vulkan doesn't set more than 508. Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
This commit is contained in:
parent
829bd77235
commit
283c31afa1
1 changed files with 3 additions and 3 deletions
|
|
@ -2407,13 +2407,13 @@ static void si_init_tess_factor_ring(struct si_context *sctx)
|
|||
max_offchip_buffers = MIN2(max_offchip_buffers, 126);
|
||||
break;
|
||||
case CIK:
|
||||
case VI:
|
||||
case GFX9:
|
||||
max_offchip_buffers = MIN2(max_offchip_buffers, 508);
|
||||
break;
|
||||
case VI:
|
||||
default:
|
||||
max_offchip_buffers = MIN2(max_offchip_buffers, 512);
|
||||
break;
|
||||
assert(0);
|
||||
return;
|
||||
}
|
||||
|
||||
assert(!sctx->tf_ring);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue