[Mesa-dev] [PATCH] anv: handle VK_ERROR_OUT_OF_POOL_MEMORY_KHR error

Eric Engestrom eric.engestrom at imgtec.com
Fri Jan 27 16:26:12 UTC 2017


On Friday, 2017-01-27 17:00:18 +0100, Juan A. Suarez Romero wrote:
> This fixes dEQP-VK.api.descriptor_pool.out_of_pool_memory test
> 
> Signed-off-by: Juan A. Suarez Romero <jasuarez at igalia.com>

Thanks, this is correct, but Lionel Landwerlin already sent [1] a more
complete patch.

Lionel, can you push your patch (and mine ^^) ?
(only the anv ones, airlied hasn't replied on the radv ones yet)

Cheers,
  Eric

[1] https://lists.freedesktop.org/archives/mesa-dev/2017-January/142160.html

> ---
>  src/intel/vulkan/anv_util.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/src/intel/vulkan/anv_util.c b/src/intel/vulkan/anv_util.c
> index 6408ac8..7045a78 100644
> --- a/src/intel/vulkan/anv_util.c
> +++ b/src/intel/vulkan/anv_util.c
> @@ -86,6 +86,7 @@ __vk_errorf(VkResult error, const char *file, int line, const char *format, ...)
>  
>     /* Extension errors */
>     ERROR_CASE(VK_ERROR_OUT_OF_DATE_KHR)
> +   ERROR_CASE(VK_ERROR_OUT_OF_POOL_MEMORY_KHR)
>  
>     default:
>        assert(!"Unknown error");
> -- 
> 2.9.3
> 


More information about the mesa-dev mailing list