Re: [Mesa-dev] [PATCH v2] main: Fix block index when mixing UBO and SSBO blocks

2015-09-30 Thread Tapani Pälli
Reviewed-by: Tapani Pälli On 10/01/2015 09:39 AM, Iago Toral Quiroga wrote: Since we store both in UniformBlocks, we can't just compute the index by subtracting the array address start, we need to count the number of buffers of the approriate type. v2: - Just fall back to calc_resource_inde

[Mesa-dev] [PATCH v2] main: Fix block index when mixing UBO and SSBO blocks

2015-09-30 Thread Iago Toral Quiroga
Since we store both in UniformBlocks, we can't just compute the index by subtracting the array address start, we need to count the number of buffers of the approriate type. v2: - Just fall back to calc_resource_index (Tapani) --- src/mesa/main/shader_query.cpp | 5 ++--- 1 file changed, 2 inser