[Bug 94668] [IVB, BYT] Cube/3D sampling broken for INT/UINT formats

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Mar 29 03:13:43 UTC 2016


--- Comment #4 from Kenneth Graunke <kenneth at whitecape.org> ---
For more utter comedy, the Sandybridge documentation says that sampler messages
can't handle INT/UINT formats at all.  But we've been exposing integer textures
there for years and it appears to be working fine.

Also, I found the 46 failing cube tests, and ran the sampler3D equivalent for
each.  All of them passed.  So I think 3D is working fine.

I noticed in the image results that most of the failing tests seemed to have a
single broken pixel in the bottom right of the image.  This made me think about
wrap modes.  It appears that overriding the wrap modes from CUBE to CLAMP when
using integer formats also fixes the tests.  It seems reasonable, since there's
no linear filtering for integer formats.  But I don't see any documentation
indicating this should be necessary, and it doesn't appear to be necessary on
Haswell and later hardware.

You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20160329/7846c975/attachment.html>

More information about the intel-3d-bugs mailing list