Files
mesa/src/broadcom/vulkan
Iago Toral Quiroga 1f8343b875 v3dv: add a CPU path for buffer to image copies
The blit shader path for buffer to image copies is pretty bad,
since it needs to produce a tiled image from the linear buffer
prior to emitting the blit copy.

This patch adds a new preferential path where we implement the
copy using the CPU, similar to what the GL driver does for
texture uploads. This makes vkQuake2 at least 4x faster when
dynamic lights are enabled (which triggers dynamic texture
updates).

We also tested a GPU path where we use a shader that takes the
linear buffer as a UBO and copies directly from it. This also
shows a clear performance gain, but still worse than the CPU
implementation.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6766>
2020-10-13 21:21:31 +00:00
..
2020-10-13 21:21:29 +00:00
2020-10-13 21:21:25 +00:00
2020-10-13 21:21:25 +00:00
2020-10-13 21:21:25 +00:00
2020-10-13 21:21:26 +00:00
2020-10-13 21:21:31 +00:00
2020-10-13 21:21:29 +00:00
2020-10-13 21:21:26 +00:00