Re: [Mesa-dev] [PATCH 1/8] mesa: Record transform feedback stride in linker output.

2011-12-14 Thread Kenneth Graunke
On 12/14/2011 05:48 AM, Marek Olšák wrote: > The strides are useful, although they can be computed by summing up > all the NumComponents fields for each buffer. Note that I also take > into account ARB_transform_feedback3, which allows having interleaved > attribs in more than one buffer. For the E

Re: [Mesa-dev] [PATCH 1/8] mesa: Record transform feedback stride in linker output.

2011-12-14 Thread Paul Berry
On 14 December 2011 05:48, Marek Olšák wrote: > The strides are useful, although they can be computed by summing up > all the NumComponents fields for each buffer. Note that I also take > into account ARB_transform_feedback3, which allows having interleaved > attribs in more than one buffer. For

Re: [Mesa-dev] [PATCH 1/8] mesa: Record transform feedback stride in linker output.

2011-12-14 Thread Paul Berry
On 13 December 2011 15:53, Brian Paul wrote: > On Tue, Dec 13, 2011 at 4:35 PM, Paul Berry > wrote: > > This patch adds the field gl_transform_feedback_info::BufferStride, > > which records the total number of components (per vertex) that > > transform feedback is being instructed to store in ea

Re: [Mesa-dev] [PATCH 1/8] mesa: Record transform feedback stride in linker output.

2011-12-14 Thread Marek Olšák
The strides are useful, although they can be computed by summing up all the NumComponents fields for each buffer. Note that I also take into account ARB_transform_feedback3, which allows having interleaved attribs in more than one buffer. For the EXT_transform_feedback case and separate attribs, Bu

Re: [Mesa-dev] [PATCH 1/8] mesa: Record transform feedback stride in linker output.

2011-12-14 Thread Kenneth Graunke
On 12/13/2011 03:35 PM, Paul Berry wrote: > This patch adds the field gl_transform_feedback_info::BufferStride, > which records the total number of components (per vertex) that > transform feedback is being instructed to store in each buffer. The > i965 gen6 back-end needs this information in orde

Re: [Mesa-dev] [PATCH 1/8] mesa: Record transform feedback stride in linker output.

2011-12-13 Thread Brian Paul
On Tue, Dec 13, 2011 at 4:35 PM, Paul Berry wrote: > This patch adds the field gl_transform_feedback_info::BufferStride, > which records the total number of components (per vertex) that > transform feedback is being instructed to store in each buffer.  The > i965 gen6 back-end needs this informati

[Mesa-dev] [PATCH 1/8] mesa: Record transform feedback stride in linker output.

2011-12-13 Thread Paul Berry
This patch adds the field gl_transform_feedback_info::BufferStride, which records the total number of components (per vertex) that transform feedback is being instructed to store in each buffer. The i965 gen6 back-end needs this information in order to set up binding tables, and it seems better to