Re: [Mesa-dev] [PATCH] intel: FBOs with texture border are unsupported

2012-02-03 Thread Eric Anholt
On Wed, 1 Feb 2012 10:31:23 -0700, "Ian Romanick" wrote: > --- > src/mesa/drivers/dri/intel/intel_fbo.c | 13 + > 1 files changed, 13 insertions(+), 0 deletions(-) > > diff --git a/src/mesa/drivers/dri/intel/intel_fbo.c > b/src/mesa/drivers/dri/intel/intel_fbo.c > index 2ba43ac..

Re: [Mesa-dev] [PATCH] intel: FBOs with texture border are unsupported

2012-02-01 Thread Kenneth Graunke
On 02/01/2012 09:31 AM, Ian Romanick wrote: From: Ian Romanick 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_f

[Mesa-dev] [PATCH] intel: FBOs with texture border are unsupported

2012-02-01 Thread Ian Romanick
From: Ian Romanick 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 att