radv: handle NULL vertex bindings
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 15 Apr 2020 09:48:13 +0000 (11:48 +0200)
committerMarge Bot <eric+marge@anholt.net>
Wed, 29 Apr 2020 07:29:54 +0000 (07:29 +0000)
commit0f1ead7b5366470dfd834e68b7b62305ac1602a8
tree178d230830ed3073c27a9bae170488b794312b70
parentc1ef225d18332ed4800191d686dc1527e8156544
radv: handle NULL vertex bindings

With VK_EXT_robustness2, an element of pBuffers can be NULL.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4775>
src/amd/vulkan/radv_cmd_buffer.c