radv: move assert down in radv_bind_descriptor_set
authorDave Airlie <airlied@redhat.com>
Mon, 12 Jun 2017 23:36:15 +0000 (09:36 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 13 Jun 2017 00:01:36 +0000 (10:01 +1000)
commit9cce302951cda4604b1ed953bf9d16f60210e5e1
tree7a8d9821e443f632d78faba89074a198840ee837
parentb9e76b0c4473b8f3ec2ac8208e1cd86852b5fb52
radv: move assert down in radv_bind_descriptor_set

coverity complains about the deref before NULL check.

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_cmd_buffer.c