[Mesa-dev] [PATCH] mesa: fix maximum allowed proxy texture size condition

Brian Paul brianp at vmware.com
Thu Feb 9 08:14:28 PST 2012


Anuj,

The patch you committed (15986d2), the first version you posted that 
tests:

       if (width < 2 * border || width > maxSize)
          return GL_FALSE;

causes my copy of conform (mustpass.c / proxy texture test) to fail 
with swrast/softpipe/llvmpipe.  It passes w/ NVIDIA's driver.

I thought you were going to commit the patch that does:

       if (width < 2 * border || width > 2 * border + maxSize)
          return GL_FALSE;

That allows conform to pass here.

-Brian


More information about the mesa-dev mailing list