[Mesa-dev] [PATCH] st/nine: Fix invalid attempt to use indirect draws.

trevor.davenport at gmail.com trevor.davenport at gmail.com
Wed Aug 10 11:16:50 UTC 2016


I don't have commit access so someone else will need to push this out.

Trevor

On Aug 10, 2016 2:56 AM, "Marek Olšák" <maraeo at gmail.com> wrote:

> Reviewed-by: Marek Olšák <marek.olsak at amd.com>
>
> Marek
>
> On Wed, Aug 10, 2016 at 5:28 AM, Trevor Davenport
> <trevor.davenport at gmail.com> wrote:
> > Since commit 6d7177f01b231e9fe79a558c28d2b562a218d7ea, radeonsi
> > would take a different path if info->indirect_params was not
> > initialized properly.  Nine was not initializating this field.
> > ---
> >  src/gallium/state_trackers/nine/device9.c | 1 +
> >  1 file changed, 1 insertion(+)
> >
> > diff --git src/gallium/state_trackers/nine/device9.c
> src/gallium/state_trackers/nine/device9.c
> > index d233304..3f6577c 100644
> > --- src/gallium/state_trackers/nine/device9.c
> > +++ src/gallium/state_trackers/nine/device9.c
> > @@ -2935,6 +2935,7 @@ init_draw_info(struct pipe_draw_info *info,
> >      info->restart_index = 0;
> >      info->count_from_stream_output = NULL;
> >      info->indirect = NULL;
> > +    info->indirect_params = NULL;
> >  }
> >
> >  HRESULT NINE_WINAPI
> > --
> > 2.7.4
> >
> > _______________________________________________
> > mesa-dev mailing list
> > mesa-dev at lists.freedesktop.org
> > https://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160810/9352668d/attachment.html>


More information about the mesa-dev mailing list