radeonsi: decrease the max GS invocation count to 32

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5095>
This commit is contained in:
Marek Olšák 2020-05-18 21:55:06 -04:00
parent 3cd96b5109
commit 3f1f23239a

View file

@ -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;