On 04/27/2014 02:12 PM, Ian Romanick wrote:
> +static bool
> +glActiveShaderProgram_while_transform_feedback_is_active(void)
> +{
> + static const char *vs_code = "void main() { gl_Position = vec4(0); }";
> + static const char *fs_code = "void main() { }";
> +
> + GLuint vs_prog = 0;
> + GLuint fs_prog = 0;
> + GLuint pipe = 0;
> + GLuint xfb = 0;
> + GLuint buf = 0;
> + bool pass = true;
> + static const char *varyings[] = {"gl_Position"};
> +
> + if (!CreateShaderProgram_with_xfb(source, varyings, 1, &vs_prog)) {
Copy-and-paste bug here. s/source/vs_code/. Already fixed in v3.
_______________________________________________
Piglit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/piglit