mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 09:28:07 +02:00
radeonsi: fix broken tessellation on Carrizo and Stoney
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=99850
Cc: 13.0 17.0 <mesa-stable@lists.freedesktop.org>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 35915af6c9)
This commit is contained in:
parent
0a8df0685e
commit
03982603f0
1 changed files with 3 additions and 1 deletions
|
|
@ -2213,7 +2213,9 @@ static bool si_update_spi_tmpring_size(struct si_context *sctx)
|
|||
|
||||
static void si_init_tess_factor_ring(struct si_context *sctx)
|
||||
{
|
||||
bool double_offchip_buffers = sctx->b.chip_class >= CIK;
|
||||
bool double_offchip_buffers = sctx->b.chip_class >= CIK &&
|
||||
sctx->b.family != CHIP_CARRIZO &&
|
||||
sctx->b.family != CHIP_STONEY;
|
||||
unsigned max_offchip_buffers_per_se = double_offchip_buffers ? 128 : 64;
|
||||
unsigned max_offchip_buffers = max_offchip_buffers_per_se *
|
||||
sctx->screen->b.info.max_se;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue