Re: [Mesa-dev] [PATCH v2] i965: Reimplement ARB_transform_feedback2 on Haswell and later.

2016-05-09 Thread Kenneth Graunke
On Sunday, May 8, 2016 10:53:33 PM PDT Jordan Justen wrote: > On 2016-05-07 03:14:43, Kenneth Graunke wrote: > > My old implementation accumulated pairs in a buffer, > > and eventually processed that data on the CPU. This meant flushing > > the batchbuffer and waiting for it to

Re: [Mesa-dev] [PATCH v2] i965: Reimplement ARB_transform_feedback2 on Haswell and later.

2016-05-08 Thread Jordan Justen
On 2016-05-07 03:14:43, Kenneth Graunke wrote: > My old implementation accumulated pairs in a buffer, > and eventually processed that data on the CPU. This meant flushing > the batchbuffer and waiting for it to completely execute before we > could map it, resulting in really long

[Mesa-dev] [PATCH v2] i965: Reimplement ARB_transform_feedback2 on Haswell and later.

2016-05-08 Thread Kenneth Graunke
My old implementation accumulated pairs in a buffer, and eventually processed that data on the CPU. This meant flushing the batchbuffer and waiting for it to completely execute before we could map it, resulting in really long stalls. We could also run out of space in the buffer, and