Skip to content

anv: Attempt to compile all pipelines even after errors

Per the Vulkan spec on multiple pipeline creation, the Vulkan implementation is supposed to "attempt to create all pipelines" even if "creation fails for a pipeline despite valid arguments".

There is comment suggesting that it is unclear what error to return in the case of multiple errors but the Vulkan spec indicates that any error for any one pipeline is valid: "If creation fails for multiple pipelines, the returned VkResult must be the return value of any one of the pipelines which did not succeed."

Merge request reports