i915g: Unifdef VBUF_MAP_BUFFER.
authorEmma Anholt <emma@anholt.net>
Wed, 16 Jun 2021 04:52:04 +0000 (21:52 -0700)
committerMarge Bot <eric+marge@anholt.net>
Mon, 27 Sep 2021 18:36:10 +0000 (18:36 +0000)
commit2aa8317e06649edf9ac2d86ed7ef8ac6c6af2c53
tree0ad416a8fec95282a2a3a9edc36e004bfdbe5816
parenta364e8603d944d15aa3e83fb6bdb4e32195acd1f
i915g: Unifdef VBUF_MAP_BUFFER.

You do want to stream the vertices out to the WC mapping, as the code has
been doing, rather than writing into malloc and doing a memcpy later and
wasting cache space.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13052>
src/gallium/drivers/i915/i915_prim_vbuf.c