Skip to contentSkip to conversation

Trilinear sampling on cubemap wrongly sampled at the border of rasterized triangle on HAWAII

Bug 88642 [email protected] 1 participant 6 messages Jan 20, 2015 – Feb 6, 2015

lore
Share & tools
lore
#0 lore raw

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: [email protected]
Reporter: [email protected]
QA Contact: [email protected]

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.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=88642

--- Comment #1 from vincent <[email protected]> ---
Created attachment 112567
--> https://bugs.freedesktop.org/attachment.cgi?id=112567&action=edit
Diagonal line

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=88642

Michel Dänzer <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

 Attachment #112567|text/plain                  |image/png
          mime type|                            |
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=88642

--- Comment #2 from Michel Dänzer <[email protected]> ---
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.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=88642

smoki <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #3 from smoki <[email protected]> --- *** Bug 87518 has been marked as a duplicate of this bug. ***

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=88642

Michel Dänzer <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Michel Dänzer <[email protected]> ---
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

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel