From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 88642] Trilinear sampling on cubemap wrongly sampled at the border of rasterized triangle on HAWAII Date: Tue, 20 Jan 2015 22:52:43 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0241075566==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id E87BA6E25B for ; Tue, 20 Jan 2015 14:52:43 -0800 (PST) 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 --===============0241075566== Content-Type: multipart/alternative; boundary="1421794363.b1B830.24531"; charset="UTF-8" --1421794363.b1B830.24531 Date: Tue, 20 Jan 2015 22:52:43 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=88642 Bug ID: 88642 Summary: Trilinear sampling on cubemap wrongly sampled at the border of rasterized triangle on HAWAII Product: Mesa Version: 10.4 Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/radeonsi Assignee: dri-devel@lists.freedesktop.org Reporter: vljn@ovi.com QA Contact: dri-devel@lists.freedesktop.org Created attachment 112566 --> https://bugs.freedesktop.org/attachment.cgi?id=112566&action=edit Test case Hi, on a R290X with a fresh fedora 21 install (Mesa 10.4.1) a fragment shader sampling a cubemap texture with trilinear filtering is not correctly executed on the edge of rasterized triangles. I've included a patch against piglit that display the behaviour. On my system the test display a small orange diagonal line on top of the color pattern. (the test doesn't check result atm) I think it's related to some quad pattern : in my app that has a depth buffer the line follows the edge of the geometry. -- You are receiving this mail because: You are the assignee for the bug. --1421794363.b1B830.24531 Date: Tue, 20 Jan 2015 22:52:43 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"
Bug ID 88642
Summary Trilinear sampling on cubemap wrongly sampled at the border of rasterized triangle on HAWAII
Product Mesa
Version 10.4
Hardware x86-64 (AMD64)
OS Linux (All)
Status NEW
Severity normal
Priority medium
Component Drivers/Gallium/radeonsi
Assignee dri-devel@lists.freedesktop.org
Reporter vljn@ovi.com
QA Contact dri-devel@lists.freedesktop.org

Created attachment 112566 [details]
Test case

Hi,

on a R290X with a fresh fedora 21 install (Mesa 10.4.1) a fragment shader
sampling a cubemap texture with trilinear filtering is not correctly executed
on the edge of rasterized triangles.

I've included a patch against piglit that display the behaviour. On my system
the test display a small orange diagonal line on top of the color pattern. 
(the test doesn't check result atm)

I think it's related to some quad pattern : in my app that has a depth buffer
the line follows the edge of the geometry.


You are receiving this mail because:
  • You are the assignee for the bug.
--1421794363.b1B830.24531-- --===============0241075566== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============0241075566==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 88642] Trilinear sampling on cubemap wrongly sampled at the border of rasterized triangle on HAWAII Date: Tue, 20 Jan 2015 22:56:12 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0714813520==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id CD50C8994A for ; Tue, 20 Jan 2015 14:56:12 -0800 (PST) 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 --===============0714813520== Content-Type: multipart/alternative; boundary="1421794572.414dc0.25673"; charset="UTF-8" --1421794572.414dc0.25673 Date: Tue, 20 Jan 2015 22:56:12 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=88642 --- Comment #1 from vincent --- Created attachment 112567 --> https://bugs.freedesktop.org/attachment.cgi?id=112567&action=edit Diagonal line -- You are receiving this mail because: You are the assignee for the bug. --1421794572.414dc0.25673 Date: Tue, 20 Jan 2015 22:56:12 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"


You are receiving this mail because:
  • You are the assignee for the bug.
--1421794572.414dc0.25673-- --===============0714813520== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============0714813520==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 88642] Trilinear sampling on cubemap wrongly sampled at the border of rasterized triangle on HAWAII Date: Wed, 21 Jan 2015 02:17:38 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0294088052==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 9915D6E6D9 for ; Tue, 20 Jan 2015 18:17:38 -0800 (PST) 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 --===============0294088052== Content-Type: multipart/alternative; boundary="1421806658.8c26dDC1.25032"; charset="UTF-8" --1421806658.8c26dDC1.25032 Date: Wed, 21 Jan 2015 02:17:38 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D88642 Michel D=C3=A4nzer changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #112567|text/plain |image/png mime type| | --=20 You are receiving this mail because: You are the assignee for the bug. --1421806658.8c26dDC1.25032 Date: Wed, 21 Jan 2015 02:17:38 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable = Michel D=C3=A4nzer changed bug 88642<= /a>
What Removed Added
Attachment #112567 mime type text/plain image/png


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1421806658.8c26dDC1.25032-- --===============0294088052== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============0294088052==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 88642] Trilinear sampling on cubemap wrongly sampled at the border of rasterized triangle on HAWAII Date: Wed, 21 Jan 2015 04:10:07 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1202330322==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 4792F89CB3 for ; Tue, 20 Jan 2015 20:10:07 -0800 (PST) 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 --===============1202330322== Content-Type: multipart/alternative; boundary="1421813407.2AF32F1.29272"; charset="UTF-8" --1421813407.2AF32F1.29272 Date: Wed, 21 Jan 2015 04:10:07 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D88642 --- Comment #2 from Michel D=C3=A4nzer --- That kind of artifacts is usually due to whole quad mode not being enabled = when it should be. The LLVM patch http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20150119/254035= .html fixes it. --=20 You are receiving this mail because: You are the assignee for the bug. --1421813407.2AF32F1.29272 Date: Wed, 21 Jan 2015 04:10:07 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Comment= # 2 on bug 88642<= /a> from Michel D=C3=A4nzer
That kind of artifacts is usually due to whole quad mode not b=
eing enabled when
it should be. The LLVM patch
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-M=
on-20150119/254035.html
fixes it.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1421813407.2AF32F1.29272-- --===============1202330322== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1202330322==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 88642] Trilinear sampling on cubemap wrongly sampled at the border of rasterized triangle on HAWAII Date: Mon, 26 Jan 2015 15:07:41 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1441125630==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 220C46E257 for ; Mon, 26 Jan 2015 07:07:41 -0800 (PST) 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 --===============1441125630== Content-Type: multipart/alternative; boundary="1422284861.fB2EE2.2165"; charset="UTF-8" --1422284861.fB2EE2.2165 Date: Mon, 26 Jan 2015 15:07:41 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=88642 smoki changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |smoki00790@gmail.com --- Comment #3 from smoki --- *** Bug 87518 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are the assignee for the bug. --1422284861.fB2EE2.2165 Date: Mon, 26 Jan 2015 15:07:41 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" changed bug 88642
What Removed Added
CC   smoki00790@gmail.com

Comment # 3 on bug 88642 from
*** Bug 87518 has been marked as a duplicate of this bug. ***


You are receiving this mail because:
  • You are the assignee for the bug.
--1422284861.fB2EE2.2165-- --===============1441125630== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1441125630==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 88642] Trilinear sampling on cubemap wrongly sampled at the border of rasterized triangle on HAWAII Date: Fri, 06 Feb 2015 03:09:16 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1128628768==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id B5D2F720BC for ; Thu, 5 Feb 2015 19:09:18 -0800 (PST) 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 --===============1128628768== Content-Type: multipart/alternative; boundary="1423192156.B2B52.10002"; charset="UTF-8" --1423192156.B2B52.10002 Date: Fri, 6 Feb 2015 03:09:16 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D88642 Michel D=C3=A4nzer changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #4 from Michel D=C3=A4nzer --- Author: daenzer Date: Thu Feb 5 20:51:20 2015 New Revision: 228372 URL: http://llvm.org/viewvc/llvm-project?rev=3D228372&view=3Drev Log: R600/SI: Also enable WQM for image opcodes which calculate LOD v3 --=20 You are receiving this mail because: You are the assignee for the bug. --1423192156.B2B52.10002 Date: Fri, 6 Feb 2015 03:09:16 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable = Michel D=C3=A4nzer changed bug 88642<= /a>
What Removed Added
Status NEW RESOLVED
Resolution --- FIXED

Comment= # 4 on bug 88642<= /a> from Michel D=C3=A4nzer
Author: daenzer
Date: Thu Feb  5 20:51:20 2015
New Revision: 228372

URL: http://llvm.org/viewvc/llvm-project?rev=3D228372&view=3Drev
Log:
R600/SI: Also enable WQM for image opcodes which calculate LOD v3


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1423192156.B2B52.10002-- --===============1128628768== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1128628768==--