softpipe: Use the default behavior of ALLOW_MAPPED_BUFFERS.
authorEric Anholt <eric@anholt.net>
Mon, 6 Jan 2020 22:35:33 +0000 (14:35 -0800)
committerMarge Bot <eric+marge@anholt.net>
Wed, 22 Jul 2020 19:06:51 +0000 (19:06 +0000)
commite5554e32c0f07b4964bc9b5a31c8bff32d7e2fa0
tree4ad9179208e5ed2f98d21c2c2c944028d0b78122
parent855f3ff41877d1d3c1e335e8db7de9ad0f45a06c
softpipe: 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/softpipe/sp_screen.c