radeonsi: reduce MAX_GEOMETRY_OUTPUT_VERTICES

This fixes piglit spec@glsl-1.50@gs-max-output on gfx9.

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
This commit is contained in:
Nicolai Hähnle 2018-06-19 13:53:01 +02:00 committed by Marek Olšák
parent aef01dd2e5
commit d15cc1f55a
1 changed files with 4 additions and 1 deletions

View File

@ -263,7 +263,10 @@ static int si_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
/* Geometry shader output. */
case PIPE_CAP_MAX_GEOMETRY_OUTPUT_VERTICES:
return 1024;
/* gfx9 has to report 256 to make piglit/gs-max-output pass.
* gfx8 and earlier can do 1024.
*/
return 256;
case PIPE_CAP_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS:
return 4095;
case PIPE_CAP_MAX_GS_INVOCATIONS: