radeonsi: decrease PIPE_CAP_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS to 1024

to match PAL-based drivers. This is also the OpenGL minimum.

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26055>
This commit is contained in:
Marek Olšák
2023-10-24 07:24:14 -04:00
parent 6708ccd3bf
commit 03353bd752
+1 -1
View File
@@ -310,7 +310,7 @@ static int si_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
*/
return 256;
case PIPE_CAP_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS:
return 4095;
return 1024;
case PIPE_CAP_MAX_GS_INVOCATIONS:
/* Even though the hw supports more, we officially wanna expose only 32. */
return 32;