radv: Add shader prefetch.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Wed, 19 Apr 2017 20:32:16 +0000 (22:32 +0200)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Wed, 19 Apr 2017 21:47:27 +0000 (23:47 +0200)
commit1e1165389c1940415306fae1e5bbe3e75b649975
tree5c4fee6a3312732c00a3259653cd8b84b2eb7617
parent74d92e547c0c5118e15df71b81a46a588e6a0a01
radv: Add shader prefetch.

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.

Signed-off-by: Bas Nieuwenhuizen <basni@google.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_cmd_buffer.c
src/amd/vulkan/radv_private.h
src/amd/vulkan/si_cmd_buffer.c