[Piglit] [PATCH] Use nearest filtering in the texelFetch() and textureSize() tests.
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
Reviewed-by: Eric Anholt <eric at anholt.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 197 bytes
Desc: not available
More information about the Piglit