freedreno: Stop forcing ALLOW_MAPPED_BUFFERS_DURING_EXEC off.
authorEric Anholt <eric@anholt.net>
Mon, 9 Dec 2019 19:19:14 +0000 (11:19 -0800)
committerEric Anholt <eric@anholt.net>
Mon, 9 Dec 2019 22:13:47 +0000 (14:13 -0800)
commit10da0a9d18a15044ca92553ed17adb7c445394c8
tree015b36954e09fef327dcd915034542aa9ad16df9
parentdc791d3c684ed97668dce74a222d306a4e22ae83
freedreno: Stop forcing ALLOW_MAPPED_BUFFERS_DURING_EXEC off.

The default is to not throw GL errors when drawing with mapped
buffers, but we were forcing it on for unclear reasons.  Internally we
keep all our buffers mapped anyway, so it should be a no-op other than
reducing CPU overhead (.23% in a perf report for WebGL fishtank)

Reviewed-by: Rob Clark <robdclark@chromium.org>
src/gallium/drivers/freedreno/freedreno_screen.c