radv: drop assert on bindingDescriptorCount > 0
authorDave Airlie <airlied@redhat.com>
Thu, 8 Mar 2018 00:15:12 +0000 (10:15 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 14 Mar 2018 06:54:52 +0000 (16:54 +1000)
commit3b0f2081b5dc351d40d67b99f8f1def551a8374d
tree9c06516f5d4f941139001028d6b2ebc3640d07aa
parent9dc5063262d0a5130cf0723a33079f3fd17560c3
radv: drop assert on bindingDescriptorCount > 0

The spec is pretty clear that this can be 0, and that it operates
as a reserved binding.

Fixes:
dEQP-VK.binding_model.descriptor_update.empty_descriptor.uniform_buffer

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_descriptor_set.c