Re: [Mesa-dev] [PATCH] i965: allow unsourced enabled VAO

2016-12-22 Thread Ian Romanick
On 11/03/2016 03:02 AM, Juan A. Suarez Romero wrote: > The GL 4.5 spec says: > "If any enabled array’s buffer binding is zero when DrawArrays > or one of the other drawing commands defined in section 10.4 is > called, the result is undefined." > > This commits avoids crashing the

Re: [Mesa-dev] [PATCH] i965: allow unsourced enabled VAO

2016-12-21 Thread Samuel Iglesias Gonsálvez
Reviewed-by: Samuel Iglesias Gonsálvez On Thu, 2016-11-03 at 11:02 +0100, Juan A. Suarez Romero wrote: > The GL 4.5 spec says: > "If any enabled array’s buffer binding is zero when DrawArrays > or one of the other drawing commands defined in section 10.4 is >

Re: [Mesa-dev] [PATCH] i965: allow unsourced enabled VAO

2016-12-05 Thread Juan A. Suarez Romero
On Thu, 2016-11-03 at 11:02 +0100, Juan A. Suarez Romero wrote: > The GL 4.5 spec says: > "If any enabled array’s buffer binding is zero when DrawArrays > or one of the other drawing commands defined in section 10.4 is > called, the result is undefined." > > This commits avoids

[Mesa-dev] [PATCH] i965: allow unsourced enabled VAO

2016-11-03 Thread Juan A. Suarez Romero
The GL 4.5 spec says: "If any enabled array’s buffer binding is zero when DrawArrays or one of the other drawing commands defined in section 10.4 is called, the result is undefined." This commits avoids crashing the code, which is not a very good "undefined result". This fixes