gallium/vl: Don't map vertex buffers on creation
authorThomas Hellstrom <thellstrom@vmware.com>
Mon, 29 Feb 2016 12:33:39 +0000 (13:33 +0100)
committerThomas Hellstrom <thellstrom@vmware.com>
Wed, 22 Feb 2017 09:17:51 +0000 (10:17 +0100)
commitec8139e50c050e24885c9f015cafc2394b734db5
tree85be4285ca2209809a92564abf72a64ff91c0d17
parentf2872bf8c34bc762a3c1bb2595c8000672659b9f
gallium/vl: Don't map vertex buffers on creation

It will cause multiple simultaneous maps of the same vertex buffer and
flushed-while-mapped warnings.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
src/gallium/auxiliary/vl/vl_vertex_buffers.c