Re: [Mesa-dev] [PATCH] mesa: handle array textures in strip_texture_border()

2012-03-06 Thread Brian Paul
On 03/05/2012 08:42 PM, Anuj Phogat wrote: On Wed 29 Feb 2012 07:36:21 PM PST, Brian Paul wrote: If the texture is a 1D array, don't remove the border pixel from the height. Similarly for 2D array textures and the depth direction. Simplify the function by assuming the border is always one pixel

Re: [Mesa-dev] [PATCH] mesa: handle array textures in strip_texture_border()

2012-03-05 Thread Anuj Phogat
On Wed 29 Feb 2012 07:36:21 PM PST, Brian Paul wrote: > If the texture is a 1D array, don't remove the border pixel from the > height. Similarly for 2D array textures and the depth direction. > Simplify the function by assuming the border is always one pixel. > --- > src/mesa/main/teximage.c |

[Mesa-dev] [PATCH] mesa: handle array textures in strip_texture_border()

2012-02-29 Thread Brian Paul
If the texture is a 1D array, don't remove the border pixel from the height. Similarly for 2D array textures and the depth direction. Simplify the function by assuming the border is always one pixel. --- src/mesa/main/teximage.c | 37 - 1 files changed, 20 in