Daryll Strauss wrote:

> The crash consistently happens in fxSetupSingleCPU. I couldn't check
> the actual values, but the disassemble seems to indicate it is
> happensing here:
> 
>     grTexSource(GR_TMU1,ti->tmi.tm[FX_TMU1]->startAddress,
>         GR_MIPMAPLEVELMASK_EVEN,&(ti->info));
> 
> That's the second grTexSource call. It's the
> ti->tmi.tm[FX_TMU1]->startAddress that's causing the segmentation
> violation.

OK - I've committed a fix to this.  I don't know if it's a good one
(David?).

The situation is:

--> We are using two textures in a multitexture setup.  These both have
LODblend set, and both are considered 'inTMU'.

--> Texture 1 is disabled

--> We try to use the remaining texture as a single-texture.  We know it
is 'inTMU', but mistakenly believe that this means it is loaded on both
TMU's.  Hence the crash.

Keith


_______________________________________________
Mesa-dev maillist  -  [EMAIL PROTECTED]
http://lists.mesa3d.org/mailman/listinfo/mesa-dev

Reply via email to