freedreno/a6xx: Fix MAX_GEOMETRY_OUTPUT_VERTICES cap

Limited by the size of PC_PRIMITIVE_CNTL_5.GS_VERTICES_OUT

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19100>
This commit is contained in:
Rob Clark 2022-10-18 10:02:10 -07:00 committed by Marge Bot
parent b96e8050d6
commit f26631c6de
2 changed files with 1 additions and 2 deletions

View file

@ -283,7 +283,6 @@ spec@glsl-1.30@execution@texelfetch fs sampler3d 98x1x9-98x129x9,Fail
spec@glsl-1.50@execution@compatibility@vs-gs-texcoord-array-2,Crash
spec@glsl-1.50@execution@compatibility@vs-gs-texcoord-array,Crash
spec@glsl-1.50@execution@geometry@end-primitive 0,Fail
spec@glsl-1.50@execution@geometry@primitive-id-restart gl_line_loop ffs,Fail
spec@glsl-1.50@execution@geometry@primitive-id-restart gl_line_loop other,Fail
spec@glsl-1.50@execution@geometry@primitive-id-restart gl_lines_adjacency ffs,Fail

View file

@ -410,7 +410,7 @@ fd_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
/* Geometry shaders.. */
case PIPE_CAP_MAX_GEOMETRY_OUTPUT_VERTICES:
return 512;
return 256;
case PIPE_CAP_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS:
return 2048;
case PIPE_CAP_MAX_GS_INVOCATIONS: