Re: [Mesa-dev] [PATCH v2 21/24] anv/blorp: make anv_cmd_buffer_alloc_blorp_binding_table() return a VkResult

2017-03-14 Thread Pohjolainen, Topi
On Tue, Mar 14, 2017 at 12:18:59PM +0100, Iago Toral wrote: > On Tue, 2017-03-14 at 11:39 +0200, Pohjolainen, Topi wrote: > > On Fri, Mar 10, 2017 at 01:38:34PM +0100, Iago Toral Quiroga wrote: > > > > > > Instead of asserting inside the function, and then use use that > > > information > > > to

Re: [Mesa-dev] [PATCH v2 21/24] anv/blorp: make anv_cmd_buffer_alloc_blorp_binding_table() return a VkResult

2017-03-14 Thread Iago Toral
On Tue, 2017-03-14 at 11:39 +0200, Pohjolainen, Topi wrote: > On Fri, Mar 10, 2017 at 01:38:34PM +0100, Iago Toral Quiroga wrote: > > > > Instead of asserting inside the function, and then use use that > > information > > to return early from its callers upon failure. > > --- > >  

Re: [Mesa-dev] [PATCH v2 21/24] anv/blorp: make anv_cmd_buffer_alloc_blorp_binding_table() return a VkResult

2017-03-14 Thread Pohjolainen, Topi
On Fri, Mar 10, 2017 at 01:38:34PM +0100, Iago Toral Quiroga wrote: > Instead of asserting inside the function, and then use use that information > to return early from its callers upon failure. > --- > src/intel/vulkan/anv_blorp.c | 35 --- >

[Mesa-dev] [PATCH v2 21/24] anv/blorp: make anv_cmd_buffer_alloc_blorp_binding_table() return a VkResult

2017-03-10 Thread Iago Toral Quiroga
Instead of asserting inside the function, and then use use that information to return early from its callers upon failure. --- src/intel/vulkan/anv_blorp.c | 35 --- src/intel/vulkan/anv_private.h | 5 +++-- src/intel/vulkan/genX_blorp_exec.c | 8