radv: Optimize emitting index buffer changes.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Sat, 18 Jan 2020 22:32:46 +0000 (23:32 +0100)
committerMarge Bot <eric+marge@anholt.net>
Tue, 11 Feb 2020 03:07:11 +0000 (03:07 +0000)
commit7792d774e0ab4f3d45d758da1e9ac80fef0d7934
treea5bd2d431e59722a56564e2165f603307e339184
parent1d97d186fbea0de22f75346cba07133b145f95bc
radv: Optimize emitting index buffer changes.

Since the direct indexed draw packet has the address/count info
inline, there is no sense in emitting the base and size.

No real significant changes found during benchmarks.

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3466>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3466>
src/amd/vulkan/radv_cmd_buffer.c