http://bugs.freedesktop.org/show_bug.cgi?id=24365





--- Comment #3 from Brian Paul <[email protected]>  2009-10-07 13:23:38 
PST ---
In the fixed-function paths we use ctx->Const.MaxTextureCoordUnits all over the
place.  For fixed-function we have to have a texture image unit for each coord
unit.

I guess we could replace most occurances of ctx->Const.MaxTextureCoordUnits
with ctx->Const.MaxTextureUnits (and remove the assertion) but that'd be a bit
of work.

Looking at the radeon code which sets these limits:

   ctx->Const.MaxTextureUnits = driQueryOptioni (&rmesa->radeon.optionCache,
                                                 "texture_units");
   ctx->Const.MaxTextureImageUnits = ctx->Const.MaxTextureUnits;
   ctx->Const.MaxTextureCoordUnits = ctx->Const.MaxTextureUnits;

I don't see how the assertion would be failing.

Can you try setting texture_units in your driconf and see what happens?

BTW, shouldn't the driconf value be clamped to some limit?


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to