From: Marek Olšák Date: Tue, 19 May 2020 01:55:06 +0000 (-0400) Subject: radeonsi: decrease the max GS invocation count to 32 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3f1f23239a149939bf0e520722758e98d10dc908;p=mesa.git radeonsi: decrease the max GS invocation count to 32 Reviewed-by: Bas Nieuwenhuizen Part-of: --- diff --git a/src/gallium/drivers/radeonsi/si_get.c b/src/gallium/drivers/radeonsi/si_get.c index fad46fa09ce..b5dafcfac36 100644 --- a/src/gallium/drivers/radeonsi/si_get.c +++ b/src/gallium/drivers/radeonsi/si_get.c @@ -264,9 +264,8 @@ static int si_get_param(struct pipe_screen *pscreen, enum pipe_cap param) case PIPE_CAP_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS: return 4095; case PIPE_CAP_MAX_GS_INVOCATIONS: - /* The closed driver exposes 127, but 125 is the greatest - * number that works. */ - return 125; + /* Even though the hw supports more, we officially wanna expose only 32. */ + return 32; case PIPE_CAP_MAX_VERTEX_ATTRIB_STRIDE: return 2048;