[Mesa-dev] [PATCH 2/2] mesa: remove bogus compressed texture size checks
Eric Anholt
eric at anholt.net
Tue Oct 2 11:57:20 PDT 2012
Brian Paul <brianp at vmware.com> writes:
> A compressed texture image size doesn't have to be a multiple of the
> compressed block size (only sub-images do). Fixes issues when building
> compressed mipmaps because we often wind up with non-block-size images
> for the higher mipmap levels.
>
> Fixes https://bugs.freedesktop.org/show_bug.cgi?id=55445
This patch is:
Reviewed-by: Eric Anholt <eric at anholt.net>
(I haven't thought through the implications of not calling the driver's
TexImage for 0-sized -- do we rely on anything happening there that will
get us into trouble at render time if 0-sized is used?)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20121002/e13119f1/attachment.pgp>
More information about the mesa-dev
mailing list