Re: [Mesa3d-dev] r300 max texture image units breaks swrast..

2006-05-11 Thread Dave Airlie
I'm guessing the corret answer if fix Mesa to use 16 instead of 8, but I'd like Brian or Keith to verify it, There's a bit of work to do to mesa before we double the number of texture units, particularly to swrast, but also tnl/ doesn't support this, afaik. For now, drivers are limited to 8

Re: [Mesa3d-dev] r300 max texture image units breaks swrast..

2006-05-11 Thread Keith Whitwell
Dave Airlie wrote: Okay I spent some time looking at the r300 span crap that no-one else was looking at and spending more time putting stupid hacks into the r300 driver... The problem is Mesa core defines MAX_TEXTURE_UNITS, MAX_TEXTURE_COORD_UNITS, and MAX_TEXTURE_IMAGE_UNITS to 8, this siz

[Mesa3d-dev] r300 max texture image units breaks swrast..

2006-05-11 Thread Dave Airlie
Okay I spent some time looking at the r300 span crap that no-one else was looking at and spending more time putting stupid hacks into the r300 driver... The problem is Mesa core defines MAX_TEXTURE_UNITS, MAX_TEXTURE_COORD_UNITS, and MAX_TEXTURE_IMAGE_UNITS to 8, this sizes a number of arra