mesa/src
Robert Ellison 349b819768 i965: texture fixes: bordered textures, fallback rendering
i965 doesn't natively support GL_CLAMP; it treats it like
GL_CLAMP_TO_EDGE, which fails conformance tests.

This fix adds a clause to the check_fallbacks() test to check
whether GL_CLAMP is in use on any enabled 2D texture.  If so,
and if strict conformance is required (via INTEL_STRICT_CONFORMANCE),
a software fallback is mandated.

In addition, validate textures *before* checking for fallbacks,
rather than after; otherwise, the texture state is never validated
and can't be trusted.  (In particular, if texturing is enabled and
the sampler would access any level beyond level 0 of a texture, the
sampler will segfault, because texture validation sets the firstLevel
and lastLevel fields of a texture object so that the valid levels
will be mapped and accessed correctly.  If texture validation doesn't
occur, only level 0 is accessed correctly, and that only because
firstLevel and lastLevel happen to be set to 0.)
(cherry picked from commit 17c7852bf9)
2009-03-13 17:38:39 -07:00
..
egl mesa: standardize on C99's uint*_t instead of u_int*_t 2008-09-21 09:45:00 -07:00
glu glu: Add mangled symbols to export list 2009-01-05 08:00:16 -07:00
glut glut: added GLUT_PPM_FILE env var to dump first frame to a PPM file 2008-12-15 18:19:05 -07:00
glw Add more package metadata to the pkg-config files 2008-12-14 08:47:03 -08:00
glx dri2: Initialize variables for the getbuffers round-trip reduction. 2009-03-13 17:38:38 -07:00
mesa i965: texture fixes: bordered textures, fallback rendering 2009-03-13 17:38:39 -07:00
descrip.mms Committing in . 2003-06-17 07:20:22 +00:00
Makefile Create $(TOP)/$(LIB_DIR) for install, too 2008-06-22 20:19:35 -07:00