Adam Williams wrote:
> 
> Using a Radeon 64MB, XFree86 4.1.0, kernel 2.4.5-ac16
> 
> Currently it looks like the largest texture I can upload is limited to
> the nearest 2^n pixels below the horizontal resolution of the screen.
> Is there any way to work around this and get a 2048x2048 texture on a
> 1600x1200 screen?

I've looked into this a bit more.  Looks like the token
RADEON_MAX_TEXTURE_LEVELS is incorrectly defined to be 11 in
the current driver.  It should be 12 in order to support 2Kx2K
textures.  It looks like this can safely be changed from 11 to 12
without a kernel module version change.  However, I'm inclined
to save this change for the Mesa 3.5 DRI branch since I don't
want to accidently mess things up in the trunk code.

Kevin or Gareth, does this ring a bell?  Is this in fact a mistake
or was there a reason for using 11 texture levels?

-Brian

_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to