Re: [Mesa-dev] [PATCH 4/7] glsl: simplify buffer block resource limit checking

2016-04-01 Thread Kenneth Graunke
On Saturday, April 2, 2016 3:03:55 PM PDT Timothy Arceri wrote: > This changes the code to use the buffer counts stored for each stage > rather than counting from scratch. It also moves the checks outside > of the for loop which means we now just get a single link error > message if we go over the

[Mesa-dev] [PATCH 4/7] glsl: simplify buffer block resource limit checking

2016-04-01 Thread Timothy Arceri
This changes the code to use the buffer counts stored for each stage rather than counting from scratch. It also moves the checks outside of the for loop which means we now just get a single link error message if we go over the max rather than X error messages where X is the number we have exceeded