Re: [Mesa-dev] [PATCH] mesa: fix per-level max texture size error checking

2012-09-04 Thread Michel Dänzer
On Die, 2012-09-04 at 20:21 -0600, Brian Paul wrote: > From: Brian Paul > > This is a long-standing omission in Mesa's texture image size checking. > We need to take the mipmap level into consideration when checking if the > width, height and depth are too large. > > Fixes the new piglit max-te

[Mesa-dev] [PATCH] mesa: fix per-level max texture size error checking

2012-09-04 Thread Brian Paul
From: Brian Paul This is a long-standing omission in Mesa's texture image size checking. We need to take the mipmap level into consideration when checking if the width, height and depth are too large. Fixes the new piglit max-texture-size-level test. Thanks to Stéphane Marchesin for finding this