[Bug 80419] XCOM: Enemy Unknown Causes lockup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Comment # 129 on bug 80419 from
(In reply to Davin McCall from comment #127)
> diff --git a/src/mesa/vbo/vbo_exec_array.c b/src/mesa/vbo/vbo_exec_array.c
> index f0245fd..d1f4ac6 100644
> --- a/src/mesa/vbo/vbo_exec_array.c
> +++ b/src/mesa/vbo/vbo_exec_array.c
> @@ -935,7 +935,9 @@ vbo_exec_DrawRangeElementsBaseVertex(GLenum mode,
>     (void) check_draw_elements_data;
>  #endif
>  
> -   vbo_validated_drawrangeelements(ctx, mode, index_bounds_valid, start,
> end,
> +   //vbo_validated_drawrangeelements(ctx, mode, index_bounds_valid, start,
> end,
> +   //			   count, type, indices, basevertex, 1, 0);
> +   vbo_validated_drawrangeelements(ctx, mode, GL_FALSE, ~0, ~0,
>  				   count, type, indices, basevertex, 1, 0);
>  }

That's not correct, but it's close. If you want the driver to ignore the
app-supplied index bounds, simply change "index_bounds_valid" to "false".


You are receiving this mail because:
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux