radv: Only save the descriptor set if we have one.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Wed, 17 Jul 2019 00:58:59 +0000 (02:58 +0200)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Wed, 17 Jul 2019 22:49:43 +0000 (00:49 +0200)
commitf1a89673448227dc22651b0b2d9fc05cbf5d928e
tree9f7dec2baa5e6744b96a80d157563a5364967395
parentce4c5474af6b82b03070577e753cc16ba84deef9
radv: Only save the descriptor set if we have one.

After reset, if valid does not contain the relevant bit the descriptor
can be != NULL but still not be valid.

CC: <mesa-stable@lists.freedesktop.org>
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_meta.c