radv: Optimize rebinding the same descriptor set.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Sun, 16 Sep 2018 00:17:32 +0000 (02:17 +0200)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Sun, 16 Sep 2018 10:50:19 +0000 (12:50 +0200)
commit02a43edf186cb9998741ba765cb948bb238a122d
treef797e773966eda763b2206262caa0f32bd5a69c4
parent14976817f4dbd089dc6ea1897d7006b94f30580d
radv: Optimize rebinding the same descriptor set.

This makes it cheaper to just change the dynamic offsets with
the same descriptor sets.

Suggested-by: Philip Rebohle <philip.rebohle@tu-dortmund.de>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/amd/vulkan/radv_cmd_buffer.c