radv: bail out when binding the same index buffer
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 30 Oct 2017 16:12:05 +0000 (17:12 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 31 Oct 2017 09:16:35 +0000 (10:16 +0100)
commit11fdc2cd3420aa1541cc4c3c733e9a878308eb55
tree9a9a51d40b160f40166bb0c341574733aa524ece
parentcf41c19d9fc6c12f5fc22d0b25b9d071f70a42ca
radv: bail out when binding the same index buffer

DOW3 appears to hit this path.

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