swr: Use the default behavior of ALLOW_MAPPED_BUFFERS.
authorEric Anholt <eric@anholt.net>
Mon, 6 Jan 2020 22:43:59 +0000 (14:43 -0800)
committerMarge Bot <eric+marge@anholt.net>
Wed, 22 Jul 2020 19:06:51 +0000 (19:06 +0000)
commitc32f723a1a61414208f6a4513fc717c09b6fed78
treef1067acb40700206f7d47e38aba369079dbe596d
parent39598a16e98c55ced0f1a16097b8499513cb6ac2
swr: 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: Jan Zielinski <jan.zielinski@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3298>
src/gallium/drivers/swr/swr_screen.cpp