From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 80419] XCOM: Enemy Unknown Causes lockup Date: Thu, 28 Apr 2016 18:27:52 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0146009522==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id C12306EDCE for ; Thu, 28 Apr 2016 18:27:52 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0146009522== Content-Type: multipart/alternative; boundary="146186807210.BcEB4A6F.30953"; charset="UTF-8" --146186807210.BcEB4A6F.30953 Date: Thu, 28 Apr 2016 18:27:52 +0000 MIME-Version: 1.0 Content-Type: text/plain https://bugs.freedesktop.org/show_bug.cgi?id=80419 --- Comment #129 from Marek Olšák --- (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: You are the assignee for the bug. --146186807210.BcEB4A6F.30953 Date: Thu, 28 Apr 2016 18:27:52 +0000 MIME-Version: 1.0 Content-Type: text/html

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:
  • You are the assignee for the bug.
--146186807210.BcEB4A6F.30953-- --===============0146009522== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0146009522==--