Re: [Mesa-dev] [PATCH] i965: Actually check every primitive for cut index support.

2013-09-03 Thread Paul Berry
On 2 September 2013 16:47, Ian Romanick wrote: > On 09/01/2013 07:05 PM, Kenneth Graunke wrote: > > can_cut_index_handle_prims() was passed an array of _mesa_prim objects > > and a count, and ran a loop for that many iterations. However, it > > treated the array like a pointer, repeatedly checki

Re: [Mesa-dev] [PATCH] i965: Actually check every primitive for cut index support.

2013-09-03 Thread Ian Romanick
On 09/01/2013 07:05 PM, Kenneth Graunke wrote: > can_cut_index_handle_prims() was passed an array of _mesa_prim objects > and a count, and ran a loop for that many iterations. However, it > treated the array like a pointer, repeatedly checking the first element. Blarg. How would an application b

[Mesa-dev] [PATCH] i965: Actually check every primitive for cut index support.

2013-09-01 Thread Kenneth Graunke
can_cut_index_handle_prims() was passed an array of _mesa_prim objects and a count, and ran a loop for that many iterations. However, it treated the array like a pointer, repeatedly checking the first element. This patch makes it actually check every primitive. Signed-off-by: Kenneth Graunke --