Re: [Mesa-dev] [PATCH 1/2] mesa: move glMultiDrawArray to vbo and fix error handling

2017-04-13 Thread Nicolai Hähnle
On 07.04.2017 19:05, Brian Paul wrote: On 04/07/2017 10:30 AM, Nicolai Hähnle wrote: From: Nicolai Hähnle When any count[i] is negative, we must skip all draws. Moving to vbo makes the subsequent change easier. --- src/mapi/glapi/gen/gl_API.xml | 2 +- src/mesa/main/api_validate.c | 38 +

Re: [Mesa-dev] [PATCH 1/2] mesa: move glMultiDrawArray to vbo and fix error handling

2017-04-07 Thread Brian Paul
On 04/07/2017 10:30 AM, Nicolai Hähnle wrote: From: Nicolai Hähnle When any count[i] is negative, we must skip all draws. Moving to vbo makes the subsequent change easier. --- src/mapi/glapi/gen/gl_API.xml | 2 +- src/mesa/main/api_validate.c | 38 ++

Re: [Mesa-dev] [PATCH 1/2] mesa: move glMultiDrawArray to vbo and fix error handling

2017-04-07 Thread Ilia Mirkin
On Fri, Apr 7, 2017 at 12:30 PM, Nicolai Hähnle wrote: > From: Nicolai Hähnle > > When any count[i] is negative, we must skip all draws. > > Moving to vbo makes the subsequent change easier. > --- > src/mapi/glapi/gen/gl_API.xml | 2 +- > src/mesa/main/api_validate.c | 38 +

[Mesa-dev] [PATCH 1/2] mesa: move glMultiDrawArray to vbo and fix error handling

2017-04-07 Thread Nicolai Hähnle
From: Nicolai Hähnle When any count[i] is negative, we must skip all draws. Moving to vbo makes the subsequent change easier. --- src/mapi/glapi/gen/gl_API.xml | 2 +- src/mesa/main/api_validate.c | 38 ++ src/mesa/main/api_validate.h | 4 src/mesa/m