mesa/src
Ian Romanick 87b4c9b322 intel: FBOs with texture border are unsupported
FBOs differ from textures in a significant way.  With textures, we can
strip the border and get correct rendering except when the application
fetches texels outside [0,1].

With an FBO, the pixel at (0,0) is in the border.  The
ARB_framebuffer_object spec says:

    "If the attached image is a texture image, then the window
    coordinates (x[w], y[w]) correspond to the texel (i, j, k), from
    figure 3.10 as follows:

                           i = (x[w] - b)

                           j = (y[w] - b)

                           k = (layer - b)

    where <b> is the texture image's border width..."

Since the border doesn't exist, we can never render any pixels in the
correct location.  Just mark these FBOs FRAMEBUFFER_UNSUPPORTED.

NOTE: This is a candidate for the 8.0 branch.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=42336
2012-02-03 10:50:01 -07:00
..
egl add wayland cflags when building wayland-egl 2012-01-29 16:51:27 +01:00
gallium gallium/dri: Handle xserver that doesn't send needless DRI2 invalidate events 2012-02-03 12:02:58 +00:00
gbm gbm: Add back link flags for udev, dl and glapi 2012-01-26 13:23:25 +01:00
getopt
glsl glsl: Add error case for switch() with two default cases. 2012-02-03 11:07:04 +01:00
glu scons: Add Haiku build support 2012-01-17 20:01:14 +00:00
glx Revert "Always build shared glapi" 2012-01-24 11:34:42 -05:00
mapi mapi/glapi: Never use a generic no-op entry-point on Windows. 2012-02-02 14:45:24 +00:00
mesa intel: FBOs with texture border are unsupported 2012-02-03 10:50:01 -07:00
Makefile
SConscript scons: Add Haiku build support 2012-01-17 20:01:14 +00:00