[Mesa-dev] [PATCH] st/mesa: unmap the stream_uploader buffer before drawing

Marek Olšák maraeo at gmail.com
Sun Jun 11 13:54:55 UTC 2017


On Sat, Jun 10, 2017 at 5:27 AM, Brian Paul <brianp at vmware.com> wrote:
> Some drivers require that the vertex buffers be unmapped prior to
> drawing.  This change unmaps the stream_uploader buffer after we've
> uploaded the zero-stride attributes (unless the driver supports
> rendering with mapped buffers).
>
> This fixes a regression in the VMware driver since 17f776c27be266f2.
> Some Mesa demos such as mandelbrot and brick would display black
> quads instead of the expected rendering.
>
> --
>
> Marek: can you please verify that this is the right place for this
> call (and not in st_draw_vbo())?

Yes, this is the right place.

Reviewed-by: Marek Olšák <marek.olsak at amd.com>

Marek


More information about the mesa-dev mailing list