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

Michel Dänzer michel at daenzer.net
Tue Sep 4 23:26:05 PDT 2012


On Die, 2012-09-04 at 20:21 -0600, Brian Paul wrote: 
> From: Brian Paul <brianp at vmware.com>
> 
> 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 problem.
> 
> Note: This is a candidate for the stable branches.

Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>


-- 
Earthling Michel Dänzer           |                   http://www.amd.com
Libre software enthusiast         |          Debian, X and DRI developer


More information about the mesa-dev mailing list