<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED - [IVB, BYT] Cube/3D sampling broken for INT/UINT formats"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=94668#c4">Comment # 4</a>
              on <a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED - [IVB, BYT] Cube/3D sampling broken for INT/UINT formats"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=94668">bug 94668</a>
              from <span class="vcard"><a class="email" href="mailto:kenneth@whitecape.org" title="Kenneth Graunke <kenneth@whitecape.org>"> <span class="fn">Kenneth Graunke</span></a>
</span></b>
        <pre>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.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>