llvmpipe: Use the default behavior of ALLOW_MAPPED_BUFFERS.
authorEric Anholt <eric@anholt.net>
Mon, 6 Jan 2020 22:25:08 +0000 (14:25 -0800)
committerMarge Bot <eric+marge@anholt.net>
Wed, 22 Jul 2020 19:06:51 +0000 (19:06 +0000)
commit6ec49066498097c2647d030ebe1b99a00bc38734
treec90333a5a3644a90257a4dbb4221f77b467abda1
parentae919b2561f281f6c7130fce504d31fdb259c941
llvmpipe: Use the default behavior of ALLOW_MAPPED_BUFFERS.

Since this is a software rasterizer, we really don't care whether the
buffers are "mapped" since it's just malloc.  This will drop a bit of
pointless CPU overhead to throw errors.

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3298>
src/gallium/drivers/llvmpipe/lp_screen.c