Re: [Mesa-dev] [PATCH 1/5] main: Use NumUniformBlocks to count UBOs

2015-10-17 Thread Marek Olšák
For the series: Reviewed-by: Marek Olšák On Fri, Oct 16, 2015 at 11:58 AM, Iago Toral Quiroga wrote: > Now that we have separate index spaces for UBOs and SSBOs we do not need > to iterate through BufferInterfaceBlocks any more, we can just take the > UBO count directly from NumUniformBlocks. >

Re: [Mesa-dev] [PATCH 1/5] main: Use NumUniformBlocks to count UBOs

2015-10-16 Thread Kristian Høgsberg
On Fri, Oct 16, 2015 at 2:58 AM, Iago Toral Quiroga wrote: > Now that we have separate index spaces for UBOs and SSBOs we do not need > to iterate through BufferInterfaceBlocks any more, we can just take the > UBO count directly from NumUniformBlocks. Nice cleanup, all five patches Reviewed-by:

[Mesa-dev] [PATCH 1/5] main: Use NumUniformBlocks to count UBOs

2015-10-16 Thread Iago Toral Quiroga
Now that we have separate index spaces for UBOs and SSBOs we do not need to iterate through BufferInterfaceBlocks any more, we can just take the UBO count directly from NumUniformBlocks. --- src/mesa/main/shaderapi.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/mesa