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

2017-06-11 Thread Marek Olšák
On Sat, Jun 10, 2017 at 5:27 AM, Brian Paul 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

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

2017-06-09 Thread Brian Paul
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.