nvc0: Handle user mapped vertex buffer for edgeflag
authorMaarten Lankhorst <maarten.lankhorst@canonical.com>
Tue, 18 Mar 2014 13:47:40 +0000 (14:47 +0100)
committerMaarten Lankhorst <maarten.lankhorst@canonical.com>
Tue, 18 Mar 2014 13:51:06 +0000 (14:51 +0100)
commit8fe888fafd992474672cdb10aafadd6f60811136
tree01f0e41bd86502644c4432ca9fcc8d9729911c60
parentd70ad1a4f9110d206b079398dc1c3be43894f3e5
nvc0: Handle user mapped vertex buffer for edgeflag

Handle mapping edgeflag data similar to the code around it.
This fixes a crash in piglit test gl-2.0-edgeflag.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
src/gallium/drivers/nouveau/nvc0/nvc0_vbo_translate.c