[Mesa-dev] [RFC v2 10/23] anv/image: Fix return type of make_surface()

2017-07-13 Thread Louis-Francis Ratté-Boulianne
From: Chad Versace make_surface() always returns VK_SUCCESS, so change its return type to 'void'. This simplifies the return-code handling in anv_image_create_info() and removes a goto. --- src/intel/vulkan/anv_image.c | 15 ++- 1 file changed, 2 insertions(+), 13 deletions(-) diff

[Mesa-dev] [RFC v2 10/23] anv/image: Fix return type of make_surface()

2017-08-30 Thread Louis-Francis Ratté-Boulianne
From: Chad Versace make_surface() always returns VK_SUCCESS, so change its return type to 'void'. This simplifies the return-code handling in anv_image_create_info() and removes a goto. --- src/intel/vulkan/anv_image.c | 15 ++- 1 file changed, 2 insertions(+), 13 deletions(-) diff