Re: [Mesa-dev] [PATCH mesa] anv: wrap API errors in vk_error()

2018-10-23 Thread Lionel Landwerlin
I think there are a few cases below where your change "over reports" meaning reporting the same error that has been signaled previously (device lost in particular). And cases where the application is just giving a wrong value, I might be wrong but I don't think we should report those ones

[Mesa-dev] [PATCH mesa] anv: wrap API errors in vk_error()

2018-10-23 Thread Eric Engestrom
Signed-off-by: Eric Engestrom --- src/intel/vulkan/anv_android.c | 2 +- src/intel/vulkan/anv_device.c | 10 +- src/intel/vulkan/anv_formats.c | 2 +- src/intel/vulkan/anv_image.c | 2 +- src/intel/vulkan/anv_queue.c | 6 +++---