Re: [Mesa-dev] [PATCH v2 1/8] mesa: Separate transform feedback object initialization from allocation.

2013-10-26 Thread Marek Olšák
For patches 1 2: Reviewed-by: Marek Olšák marek.ol...@amd.com Marek On Sat, Oct 26, 2013 at 7:35 AM, Kenneth Graunke kenn...@whitecape.org wrote: Both Gallium and i965 subclass gl_transform_feedback_object, which requires implementing a custom NewTransformFeedback hook. Creating a helper

[Mesa-dev] [PATCH v2 1/8] mesa: Separate transform feedback object initialization from allocation.

2013-10-25 Thread Kenneth Graunke
Both Gallium and i965 subclass gl_transform_feedback_object, which requires implementing a custom NewTransformFeedback hook. Creating a helper function to initialize the fields avoids code duplication and divergence. Signed-off-by: Kenneth Graunke kenn...@whitecape.org Cc: Eric Anholt