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

2013-10-21 Thread Eric Anholt
Kenneth Graunke writes: > 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 the SO_NUM_PRIMS_WRITTEN(n) counters an

[Mesa-dev] [PATCH 8/9] i965: Implement glDrawTransformFeedback().

2013-10-17 Thread Kenneth Graunke
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 the SO_NUM_PRIMS_WRITTEN(n) counters and multiply by the number of vertice