Re: [Mesa-dev] [PATCH v2 7/8] i965: Implement glDrawTransformFeedback().

2013-10-28 Thread Kenneth Graunke
On 10/28/2013 04:52 AM, Pohjolainen, Topi wrote: > On Mon, Oct 28, 2013 at 01:14:55PM +0200, Pohjolainen, Topi wrote: >> On Fri, Oct 25, 2013 at 10:35:48PM -0700, Kenneth Graunke wrote: >>> Implementing the GetTransformFeedbackVertexCount() driver hook allows >>> the VBO module to call us with the

Re: [Mesa-dev] [PATCH v2 7/8] i965: Implement glDrawTransformFeedback().

2013-10-28 Thread Kenneth Graunke
On 10/28/2013 04:14 AM, Pohjolainen, Topi wrote: > On Fri, Oct 25, 2013 at 10:35:48PM -0700, Kenneth Graunke wrote: >> Implementing the GetTransformFeedbackVertexCount() driver hook allows >> the VBO module to call us with the right number of vertices. >> >> The hardware doesn't directly count the

Re: [Mesa-dev] [PATCH v2 7/8] i965: Implement glDrawTransformFeedback().

2013-10-28 Thread Pohjolainen, Topi
On Mon, Oct 28, 2013 at 01:14:55PM +0200, Pohjolainen, Topi wrote: > On Fri, Oct 25, 2013 at 10:35:48PM -0700, Kenneth Graunke wrote: > > Implementing the GetTransformFeedbackVertexCount() driver hook allows > > the VBO module to call us with the right number of vertices. > > > > The hardware does

Re: [Mesa-dev] [PATCH v2 7/8] i965: Implement glDrawTransformFeedback().

2013-10-28 Thread Pohjolainen, Topi
On Fri, Oct 25, 2013 at 10:35:48PM -0700, Kenneth Graunke wrote: > Implementing the GetTransformFeedbackVertexCount() driver hook allows > the VBO module to call us with the right number of vertices. > > The hardware doesn't directly count the number of vertices written by > SOL, so we instead use