[Mesa-dev] [PATCH] mesa: Set transform feedback's default buffer mode to INTERLEAVED_ATTRIBS

Brian Paul brianp at vmware.com
Mon Nov 26 16:01:10 PST 2012


On 11/26/2012 04:15 PM, Matt Turner wrote:
> Fixes part of es3conform's transform_feedback_init_defaults test.
> NOTE: This is a candidate for the stable branch.
> ---
>   src/mesa/main/shaderobj.c |    2 ++
>   1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/src/mesa/main/shaderobj.c b/src/mesa/main/shaderobj.c
> index 1706cac..59daff5 100644
> --- a/src/mesa/main/shaderobj.c
> +++ b/src/mesa/main/shaderobj.c
> @@ -247,6 +247,8 @@ _mesa_init_shader_program(struct gl_context *ctx, struct gl_shader_program *prog
>      prog->Geom.InputType = GL_TRIANGLES;
>      prog->Geom.OutputType = GL_TRIANGLE_STRIP;
>
> +   prog->TransformFeedback.BufferMode = GL_INTERLEAVED_ATTRIBS;
> +
>      prog->InfoLog = ralloc_strdup(prog, "");
>   }
>


Reviewed-by: Brian Paul <brianp at vmware.com>


More information about the mesa-dev mailing list