I copy-and-pasted the thing I was allocating for as the context, so
the first time it would be NULL (root of a ralloc context) and they'd
chain off each other from then on.
NOTE: This is a candidate for the 8.0 branch.
separate_attribs_mode ? num_tfeedback_decls : 1;
prog->LinkedTransformFeedback.Varyings =
- rzalloc_array(prog->LinkedTransformFeedback.Varyings,
+ rzalloc_array(prog,
struct gl_transform_feedback_varying_info,
num_tfeedback_decls);