From 13f9012ad3837c98a2c891244e64878fa61f9cd2 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Mon, 26 Nov 2012 15:13:25 -0800 Subject: [PATCH] mesa: Set transform feedback's default buffer mode to INTERLEAVED_ATTRIBS Fixes part of es3conform's transform_feedback_init_defaults test. NOTE: This is a candidate for the stable branch. Reviewed-by: Kenneth Graunke Reviewed-by: Brian Paul --- src/mesa/main/shaderobj.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mesa/main/shaderobj.c b/src/mesa/main/shaderobj.c index 1706cac55ff..59daff5bf0a 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, ""); } -- 2.30.2