On 7 November 2011 18:18, Marek Olšák wrote:
> On Tue, Nov 8, 2011 at 1:13 AM, Paul Berry
> wrote:
> > @@ -1806,16 +2187,50 @@ link_shaders(struct gl_context *ctx, struct
> gl_shader_program *prog)
> > break;
> >}
> >
> > + /* From GL_EXT_transform_feedback:
> > +* A program
On 7 November 2011 17:34, Marek Olšák wrote:
> On Tue, Nov 8, 2011 at 1:13 AM, Paul Berry
> wrote:
> > +/**
> > + * Update gl_transform_feedback_info to reflect this tfeedback_decl.
> > + *
> > + * If an error occurs, the error is reported through linker_error() and
> false
> > + * is returned.
On Tue, Nov 8, 2011 at 1:13 AM, Paul Berry wrote:
> @@ -1806,16 +2187,50 @@ link_shaders(struct gl_context *ctx, struct
> gl_shader_program *prog)
> break;
> }
>
> + /* From GL_EXT_transform_feedback:
> + * A program will fail to link if:
> + *
> + * * the specified by
On Tue, Nov 8, 2011 at 1:13 AM, Paul Berry wrote:
> +/**
> + * Update gl_transform_feedback_info to reflect this tfeedback_decl.
> + *
> + * If an error occurs, the error is reported through linker_error() and false
> + * is returned.
> + */
> +bool
> +tfeedback_decl::store(struct gl_shader_progra
This patch modifies the GLSL linker to assign additional slots for
varying variables used by transform feedback, and record the varying
slots used by transform feedback for use by the driver back-end.
This required modifying assign_varying_locations() so that it assigns
a varying location if eithe