Reviewed-by: Marek Olšák <[email protected]>

Marek

On Thu, May 19, 2016 at 9:20 AM, Jason Ekstrand <[email protected]> wrote:
> Right now, we're setting the range to [0, 0] which is obviously bogus.
> Instead, we should set it to be invalid like we do for DrawIndirect.
>
> Cc: "10.2" <[email protected]>
> ---
>  src/mesa/vbo/vbo_exec_array.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/mesa/vbo/vbo_exec_array.c b/src/mesa/vbo/vbo_exec_array.c
> index 3b45eb5..87ed7f7 100644
> --- a/src/mesa/vbo/vbo_exec_array.c
> +++ b/src/mesa/vbo/vbo_exec_array.c
> @@ -1323,7 +1323,7 @@ vbo_draw_transform_feedback(struct gl_context *ctx, 
> GLenum mode,
>      * will be rendered. */
>
>     vbo->draw_prims(ctx, prim, 1, NULL,
> -                   GL_TRUE, 0, 0, obj, stream, NULL);
> +                   GL_FALSE, ~0, ~0, obj, stream, NULL);
>
>     if (MESA_DEBUG_FLAGS & DEBUG_ALWAYS_FLUSH) {
>        _mesa_flush(ctx);
> --
> 2.5.0.400.gff86faf
>
> _______________________________________________
> mesa-dev mailing list
> [email protected]
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to