[Mesa-dev] [Mesa-stable] [PATCH] radeonsi: reduce MAX_GEOMETRY_OUTPUT_VERTICES
Marek Olšák
maraeo at gmail.com
Tue Jun 18 21:01:24 UTC 2019
It's not needed in stable. This is a corner case for piglit.
Marek
On Tue, Jun 18, 2019 at 6:03 AM Juan A. Suarez Romero <jasuarez at igalia.com>
wrote:
> On Fri, 2019-06-14 at 19:00 -0400, Marek Olšák wrote:
> > From: Nicolai Hähnle <nicolai.haehnle at amd.com>
> >
> > This fixes piglit spec at glsl-1.50@gs-max-output.
> > ---
>
>
> Does it make sense to nominate this for stable?
>
> J.A.
>
> > src/gallium/drivers/radeonsi/si_get.c | 4 +++-
> > 1 file changed, 3 insertions(+), 1 deletion(-)
> >
> > diff --git a/src/gallium/drivers/radeonsi/si_get.c
> b/src/gallium/drivers/radeonsi/si_get.c
> > index c1bddca1a66..9496817ac84 100644
> > --- a/src/gallium/drivers/radeonsi/si_get.c
> > +++ b/src/gallium/drivers/radeonsi/si_get.c
> > @@ -256,21 +256,23 @@ static int si_get_param(struct pipe_screen
> *pscreen, enum pipe_cap param)
> > return sscreen->info.chip_class <= GFX8 ?
> > PIPE_QUIRK_TEXTURE_BORDER_COLOR_SWIZZLE_R600 : 0;
> >
> > /* Stream output. */
> > case PIPE_CAP_MAX_STREAM_OUTPUT_SEPARATE_COMPONENTS:
> > case PIPE_CAP_MAX_STREAM_OUTPUT_INTERLEAVED_COMPONENTS:
> > return 32*4;
> >
> > /* Geometry shader output. */
> > case PIPE_CAP_MAX_GEOMETRY_OUTPUT_VERTICES:
> > - return 1024;
> > + /* gfx8 and earlier can do more, but nobody uses it
> because it
> > + * would be a bad idea for performance. */
> > + return 256;
> > 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;
> >
> > case PIPE_CAP_MAX_VERTEX_ATTRIB_STRIDE:
> > return 2048;
> >
>
> _______________________________________________
> mesa-stable mailing list
> mesa-stable at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-stable
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20190618/95fab6b1/attachment.html>
More information about the mesa-dev
mailing list