Re: [Dri-devel] Texture sizes larger than screen dimensions + blanking at x=1355

2001-06-21 Thread Brian Paul
Gareth Hughes wrote: Brian Paul wrote: I've looked into this a bit more. Looks like the token 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

Re: [Dri-devel] Texture sizes larger than screen dimensions + blanking at x=1355

2001-06-21 Thread Gareth Hughes
Brian Paul wrote: That's what I was worried about. Changing the SAREA layout would require bumping the version number. However, I've grepped all the Radeon sources and it doesn't appear that RADEON_MAX_TEXTURE_LEVELS is used at all in the SAREA or kernel code. I'll have to do some

Re: [Dri-devel] Texture sizes larger than screen dimensions + blanking at x=1355

2001-06-20 Thread Gareth Hughes
Brian Paul wrote: 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

[Dri-devel] Texture sizes larger than screen dimensions + blanking at x=1355

2001-06-19 Thread Adam Williams
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? Another

Re: [Dri-devel] Texture sizes larger than screen dimensions + blanking at x=1355

2001-06-19 Thread Brian Paul
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