From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 98025] [radeonsi] incorrect primitive restart index used Date: Mon, 03 Oct 2016 09:58:07 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0693053106==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 1079B6E543 for ; Mon, 3 Oct 2016 09:58:08 +0000 (UTC) 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 --===============0693053106== Content-Type: multipart/alternative; boundary="14754886870.dC2AdE354.17924"; charset="UTF-8" --14754886870.dC2AdE354.17924 Date: Mon, 3 Oct 2016 09:58:07 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D98025 Bug ID: 98025 Summary: [radeonsi] incorrect primitive restart index used Product: Mesa Version: git Hardware: Other OS: All Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/radeonsi Assignee: dri-devel@lists.freedesktop.org Reporter: jlegg@feralinteractive.com QA Contact: dri-devel@lists.freedesktop.org Created attachment 126961 --> https://bugs.freedesktop.org/attachment.cgi?id=3D126961&action=3Dedit Apitrace reproducing the issue With radeonsi, If primitive restart is enabled for two consecutive draws wh= ich use different primitive restart indices, then the first draw's primitive restart index is incorrectly used for the second draw. The attached apitrace reproduces the issue. The first and second draws shou= ld draw the same thing. The first is using a primitive restart index of 0xFFFFFFFF, and the second is using 0xFFFF (these are set using fixed index primitive restart and different index types). --=20 You are receiving this mail because: You are the assignee for the bug.= --14754886870.dC2AdE354.17924 Date: Mon, 3 Oct 2016 09:58:07 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated
Bug ID 98025
Summary [radeonsi] incorrect primitive restart index used
Product Mesa
Version git
Hardware Other
OS All
Status NEW
Severity normal
Priority medium
Component Drivers/Gallium/radeonsi
Assignee dri-devel@lists.freedesktop.org
Reporter jlegg@feralinteractive.com
QA Contact dri-devel@lists.freedesktop.org

Created attachmen=
t 126961 [details]
Apitrace reproducing the issue

With radeonsi, If primitive restart is enabled for two consecutive draws wh=
ich
use different primitive restart indices, then the first draw's primitive
restart index is incorrectly used for the second draw.

The attached apitrace reproduces the issue. The first and second draws shou=
ld
draw the same thing. The first is using a primitive restart index of
0xFFFFFFFF, and the second is using 0xFFFF (these are set using fixed index
primitive restart and different index types).


You are receiving this mail because:
  • You are the assignee for the bug.
= --14754886870.dC2AdE354.17924-- --===============0693053106== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0693053106==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 98025] [radeonsi] incorrect primitive restart index used Date: Mon, 03 Oct 2016 09:59:48 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1853232239==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 943946E544 for ; Mon, 3 Oct 2016 09:59:48 +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 --===============1853232239== Content-Type: multipart/alternative; boundary="14754887880.fc4FDcB.18234"; charset="UTF-8" --14754887880.fc4FDcB.18234 Date: Mon, 3 Oct 2016 09:59:48 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D98025 --- Comment #1 from James Legg --- Created attachment 126962 --> https://bugs.freedesktop.org/attachment.cgi?id=3D126962&action=3Dedit Patch fixing issue --=20 You are receiving this mail because: You are the assignee for the bug.= --14754887880.fc4FDcB.18234 Date: Mon, 3 Oct 2016 09:59:48 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated


You are receiving this mail because:
  • You are the assignee for the bug.
= --14754887880.fc4FDcB.18234-- --===============1853232239== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1853232239==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 98025] [radeonsi] incorrect primitive restart index used Date: Tue, 04 Oct 2016 12:17:21 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1717434605==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 2091A6E229 for ; Tue, 4 Oct 2016 12:17:21 +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 --===============1717434605== Content-Type: multipart/alternative; boundary="14755834410.adAEEe.13159"; charset="UTF-8" --14755834410.adAEEe.13159 Date: Tue, 4 Oct 2016 12:17:20 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D98025 --- Comment #2 from Grazvydas Ignotas --- It's best to send patches to mesa-dev for review and inclusion. You might n= eed to subscribe, but you can opt-out of receiving anything from the list. --=20 You are receiving this mail because: You are the assignee for the bug.= --14755834410.adAEEe.13159 Date: Tue, 4 Oct 2016 12:17:21 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Comment= # 2 on bug 98025<= /a> from Grazvydas Ignotas
It's best to send patches to mesa-dev for review and inclusion=
. You might need
to subscribe, but you can opt-out of receiving anything from the list.


You are receiving this mail because:
  • You are the assignee for the bug.
= --14755834410.adAEEe.13159-- --===============1717434605== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1717434605==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 98025] [radeonsi] incorrect primitive restart index used Date: Tue, 04 Oct 2016 13:34:28 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0612154271==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id BB44E6E66E for ; Tue, 4 Oct 2016 13:34:27 +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 --===============0612154271== Content-Type: multipart/alternative; boundary="14755880670.81fA6D2.18210"; charset="UTF-8" --14755880670.81fA6D2.18210 Date: Tue, 4 Oct 2016 13:34:27 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D98025 --- Comment #3 from James Legg --- I've sent the patch to mesa-dev. It now appears here: https://patchwork.freedesktop.org/patch/113613/ --=20 You are receiving this mail because: You are the assignee for the bug.= --14755880670.81fA6D2.18210 Date: Tue, 4 Oct 2016 13:34:27 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated


You are receiving this mail because:
  • You are the assignee for the bug.
= --14755880670.81fA6D2.18210-- --===============0612154271== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0612154271==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 98025] [radeonsi] incorrect primitive restart index used Date: Tue, 04 Oct 2016 14:04:44 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0183470346==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 3E9C06E690 for ; Tue, 4 Oct 2016 14:04:44 +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 --===============0183470346== Content-Type: multipart/alternative; boundary="14755898840.1a0D.20077"; charset="UTF-8" --14755898840.1a0D.20077 Date: Tue, 4 Oct 2016 14:04:44 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D98025 Marek Ol=C5=A1=C3=A1k changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #4 from Marek Ol=C5=A1=C3=A1k --- Pushed as e33f31d61f5e9019f8b0bac0378dfb8fd1147421. Thanks for the patch. Closing. --=20 You are receiving this mail because: You are the assignee for the bug.= --14755898840.1a0D.20077 Date: Tue, 4 Oct 2016 14:04:44 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated = Marek Ol=C5=A1=C3=A1k changed bug 98025<= /a>
What Removed Added
Status NEW RESOLVED
Resolution --- FIXED

Comment= # 4 on bug 98025<= /a> from Marek Ol=C5=A1=C3=A1k
Pushed as e33f31d61f5e9019f8b0bac0378dfb8fd1147421. Thanks for=
 the patch.
Closing.


You are receiving this mail because:
  • You are the assignee for the bug.
= --14755898840.1a0D.20077-- --===============0183470346== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0183470346==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 98025] [radeonsi] incorrect primitive restart index used Date: Fri, 13 Jan 2017 10:23:14 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1267764888==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id D40E86E04F for ; Fri, 13 Jan 2017 10:23:13 +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 --===============1267764888== Content-Type: multipart/alternative; boundary="14843029930.3daDB83f.10918"; charset="UTF-8" --14843029930.3daDB83f.10918 Date: Fri, 13 Jan 2017 10:23:13 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D98025 James Legg changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED --=20 You are receiving this mail because: You are the assignee for the bug.= --14843029930.3daDB83f.10918 Date: Fri, 13 Jan 2017 10:23:13 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated James Legg changed bug 98025<= /a>
What Removed Added
Status RESOLVED VERIFIED


You are receiving this mail because:
  • You are the assignee for the bug.
= --14843029930.3daDB83f.10918-- --===============1267764888== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1267764888==--