radv: Add shader prefetch

Graphics / Mesa 3D Graphics Library / Mesa - Bas Nieuwenhuizen [basnieuwenhuizen.nl] - 19 April 2017 17:47 EDT

Gives me approximately a 2% perf increase in bot dota2 & talos.

Having descriptors (both sets and vertex buffers) prefetched didn't help so I didn't include that.

1e11653 radv: Add shader prefetch.
src/amd/vulkan/radv_cmd_buffer.c | 6 ++++++
src/amd/vulkan/radv_private.h | 2 ++
src/amd/vulkan/si_cmd_buffer.c | 10 ++++++++++
3 files changed, 18 insertions(+)

Upstream: cgit.freedesktop.org


  • Share