From ce220540744c0dde30e5670441bbc7eab915cf89 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 (cherry picked from commit 13f9012ad3837c98a2c891244e64878fa61f9cd2) --- 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 16800ae..ff49578 100644 --- a/src/mesa/main/shaderobj.c +++ b/src/mesa/main/shaderobj.c @@ -250,6 +250,8 @@ _mesa_init_shader_program(struct gl_context *ctx, struct gl_shader_program *prog prog->Geom.OutputType = GL_TRIANGLE_STRIP; #endif + prog->TransformFeedback.BufferMode = GL_INTERLEAVED_ATTRIBS; + prog->InfoLog = ralloc_strdup(prog, ""); } -- 2.7.4