Pauli Nieminen wrote:
> MAX_COMBINED_TEXTURE_IMAGE_UNITS fix[1] is not taking account drivers
> wihtout support for ARB_vertex_shader should support. Current
> implementation makes all older drivers to allow glActiveTexture call
> for up to 32 texture units which is clearly wrong.

All drivers should set the ctx->Const.MaxCombinedTextureImageUnits 
constant.

For older drivers, it should probably be equal to 
ctx->Const.MaxTextureCoordUnits.

Perhaps you could submit a patch that fixes this?


 > I don't know what specs says about number of texture units. But my
 > guess is that it should match GL_MAX_TEXTURE_UNITS_ARB.

Not necessarily.  See the spec for details.

-Brian

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to