Re: [Mesa-dev] [PATCH 2/2] mesa/glthread: fallback to sync if count validation fails

2017-03-29 Thread Nicolai Hähnle
On 29.03.2017 07:30, Timothy Arceri wrote: The old code would sync and then throw a cryptic error message. There is no need for a custome error, we can just fallback to the real function and have it do proper validation. Fixes piglit test: glsl-uniform-out-of-bounds Which was returning the wron

[Mesa-dev] [PATCH 2/2] mesa/glthread: fallback to sync if count validation fails

2017-03-28 Thread Timothy Arceri
The old code would sync and then throw a cryptic error message. There is no need for a custome error, we can just fallback to the real function and have it do proper validation. Fixes piglit test: glsl-uniform-out-of-bounds Which was returning the wrong error code. --- src/mapi/glapi/gen/gl_mars