radv: adjust the CmdUpdateBuffer threshold for optimal performance
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 26 Sep 2018 09:10:58 +0000 (11:10 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 28 Sep 2018 07:08:44 +0000 (09:08 +0200)
commit621e70dd4004f009108337ca0a6c2b990cc4415f
tree3acdfa6545efb74fef4b1e48c63b200176436eac
parent5d6a560a2986c9ab421b3c7904d29bb7bc35e36f
radv: adjust the CmdUpdateBuffer threshold for optimal performance

According to my benchmark results, it appears that we should
reduce the threshold to 1024.

BEFORE:
1 KB: 68.656000 ms
2 KB: 118.368000 ms

AFTER:
1 KB: 31.760000 ms
2 KB: 29.840000 ms

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_meta_buffer.c
src/amd/vulkan/radv_private.h