radv: simplify the logic in radv_set_descriptor_set()
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 10 Jul 2018 14:13:42 +0000 (16:13 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 12 Jul 2018 09:08:49 +0000 (11:08 +0200)
commitf1b3f7bface5ddabad19db47f13393b6a7d5f2c8
tree51dcb4aa7f950af5fdda7ab0ebe797e8e6431e66
parent826b3a87735210fd297f36e2ae78d65d2240cb81
radv: simplify the logic in radv_set_descriptor_set()

Now that 'set' can't be NULL because the meta operations no
longer bind a NULL descriptor, the logic can be simplified
a little bit.

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