radv: Use sorted bindings for set layout creation.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Mon, 9 Apr 2018 21:16:55 +0000 (23:16 +0200)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Wed, 18 Apr 2018 20:56:54 +0000 (22:56 +0200)
commitd02bbde1a8e6b96ca3b2e0d160c966dcb63d6c16
treef4c1e7b22dcc9c99f4e8615b69aff1a129feee49
parentab6cadd3ecc7fbdd9079808b407674e0b19c52f0
radv: Use sorted bindings for set layout creation.

Previously we did not care about havin the set storage in order,
but for variable descriptor count we want the highest binding
at the end of the storage.

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/amd/vulkan/radv_descriptor_set.c