radv: Optimize emitting index buffer changes

Graphics / Mesa 3D Graphics Library / Mesa - Bas Nieuwenhuizen [basnieuwenhuizen.nl] - 11 February 2020 03:07 UTC

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.

7792d774e0a radv: Optimize emitting index buffer changes.
src/amd/vulkan/radv_cmd_buffer.c | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)

Upstream: cgit.freedesktop.org


  • Share