bumping mesa's texture limit to 4kx4k in 7.4?

Ian Romanick idr at freedesktop.org
Mon Feb 2 17:21:50 PST 2009


On Mon, 2009-02-02 at 21:55 +0100, Khashayar Naderehvandi wrote:
> Any chance commit 954dfba12986f578f2d8461818f9e9ac1f8f2b41 in
> mesa/mesa, the one that bumps mesa's texture limit to 4kx4k for i965
> will end up in the 7.4 branch? It's such a small patch, and it does
> fix a seriously annoying bug that has been present for way too long.

NAK.

As is, this patch is completely broken.  Any attempt to create a
mipmapped 4Kx4K texture on 965 will break.  At the very least,
MAX_TEXTURE_LEVELS and MAX_TEXTURE_RECT_SIZE in src/mesa/main/config.h
also need to be increased.  MAX_TEXTURE_LEVELS is used to size arrays in
various structures.

Keith, why didn't you use the patch that I sent you?  It correctly
increased these constants while only exposing 2Kx2K textures in the
software rasterizer.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.x.org/archives/xorg/attachments/20090202/4a55bfd8/attachment.pgp>


More information about the xorg mailing list