radv: Don't bail out on pipeline create failure.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Fri, 16 Dec 2016 22:10:31 +0000 (23:10 +0100)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Sat, 17 Dec 2016 10:41:53 +0000 (11:41 +0100)
commitb2b4f7248bee0121d6099f8b641a034eed13a15e
tree25de845533b398b85a2594ac29e08e5c68920730
parent6493b4f4dded6e622630d22f6bc2c779fb73d467
radv: Don't bail out on pipeline create failure.

The spec says we have to try to create all, and only set failed
pipelines to VK_NULL_HANDLE. If one of them fails, we have to return
an error, but as far as I can see, the spec does not care which of
the suberrors.

Fixes
dEQP-VK.api.object_management.alloc_callback_fail_multiple.compute_pipeline
dEQP-VK.api.object_management.alloc_callback_fail_multiple.graphics_pipeline

Signed-off-by: Bas Nieuwenhuizen <basni@google.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_pipeline.c