[Piglit] [PATCH] Use nearest filtering in the texelFetch() and textureSize() tests.

Eric Anholt eric at anholt.net
Wed Mar 21 09:41:02 PDT 2012


On Tue, 20 Mar 2012 12:58:39 -0700, Kenneth Graunke <kenneth at whitecape.org> wrote:
> According to the OpenGL 3.0 specification, page 214, textures with
> internal integer format must use NEAREST for the mag filter and either
> NEAREST or NEAREST_MIPMAP_NEAREST for the min filter.  Otherwise, the
> texture should be incomplete.
> 
> Both texelFetch() and textureSize() ignores the filter modes, so there's
> no harm in switching to nearest.  Obviously we need the texture to be
> complete.

Reviewed-by: Eric Anholt <eric at anholt.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20120321/46e22ea2/attachment.pgp>


More information about the Piglit mailing list