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.
https://bugs.freedesktop.org/show_bug.cgi?id=88642
--- Comment #1 from vincent vljn@ovi.com --- Created attachment 112567 --> https://bugs.freedesktop.org/attachment.cgi?id=112567&action=edit Diagonal line
https://bugs.freedesktop.org/show_bug.cgi?id=88642
Michel Dänzer michel@daenzer.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #112567|text/plain |image/png mime type| |
https://bugs.freedesktop.org/show_bug.cgi?id=88642
--- Comment #2 from Michel Dänzer michel@daenzer.net --- 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.... fixes it.
https://bugs.freedesktop.org/show_bug.cgi?id=88642
smoki smoki00790@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |smoki00790@gmail.com
--- Comment #3 from smoki smoki00790@gmail.com --- *** Bug 87518 has been marked as a duplicate of this bug. ***
https://bugs.freedesktop.org/show_bug.cgi?id=88642
Michel Dänzer michel@daenzer.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #4 from Michel Dänzer michel@daenzer.net --- Author: daenzer Date: Thu Feb 5 20:51:20 2015 New Revision: 228372
URL: http://llvm.org/viewvc/llvm-project?rev=228372&view=rev Log: R600/SI: Also enable WQM for image opcodes which calculate LOD v3
dri-devel@lists.freedesktop.org