radv: handle NULL descriptors
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 23 Apr 2020 14:02:59 +0000 (16:02 +0200)
committerMarge Bot <eric+marge@anholt.net>
Wed, 29 Apr 2020 07:29:54 +0000 (07:29 +0000)
commitc1ef225d18332ed4800191d686dc1527e8156544
tree60af596217a944940a6a0714fae2aa23388a270a
parent60cc065c7dbf0291c69638fdd6a6597050814e57
radv: handle NULL descriptors

All fields must be zero, otherwise the HW hangs.

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_descriptor_set.c