Kevin Day wrote:
>
> >
> > Yeah, I really have no example of this that will just compile as is on
> > anyone's system but ours, since I don't have an X system available to port
> > this to. The GL stuff is really simple, and what else is there is just the
> > bare minimum to put things on the screen, I can try to strip it down a bit
> > more, or install X somewhere to try to port it to something more humanly
> > readable. Essentially just running what's inside the 'while' in main, and
> > making the GL calls at the end of the second function should easily
> > reproduce this, though.
> >
> > I'll try to install 3.2 beta 1 now, and let you know.
> >
> > Kevin
> >
>
> To follow up, this still happens in 3.2 beta 1. What can I do to help track
> this down further?
To disable that one function and use the default C implementation instead,
I think this would work:
Modify Mesa/src/X86/x86.c in the gl_init_x86_asm_transforms() function:
void gl_init_x86_asm_transforms( void )
{
#ifdef USE_X86_ASM
void *save = gl_transform_tab[0][3][MATRIX_3D_NO_ROT]; /* save C function */
DECLARE_XFORM_GROUP( x86, 2, raw )
DECLARE_XFORM_GROUP( x86, 3, raw )
DECLARE_XFORM_GROUP( x86, 4, raw )
DECLARE_XFORM_GROUP( x86, 2, masked )
DECLARE_XFORM_GROUP( x86, 3, masked )
DECLARE_XFORM_GROUP( x86, 4, masked )
extern GLvector4f * _ASMAPI gl_x86_cliptest_points4( GLvector4f *clip_vec,
GLvector4f *proj_vec,
GLubyte clipMask[],
GLubyte *orMask,
GLubyte *andMask );
ASSIGN_XFORM_GROUP( x86, 0, 2, raw )
ASSIGN_XFORM_GROUP( x86, 0, 3, raw )
ASSIGN_XFORM_GROUP( x86, 0, 4, raw )
ASSIGN_XFORM_GROUP( x86, CULL_MASK_ACTIVE, 2, masked )
ASSIGN_XFORM_GROUP( x86, CULL_MASK_ACTIVE, 3, masked )
ASSIGN_XFORM_GROUP( x86, CULL_MASK_ACTIVE, 4, masked )
gl_transform_tab[0][3][MATRIX_3D_NO_ROT] = save; /* restore C function */
...
...
It'll generate a warning, but it should work.
Have you tried building Mesa without any X86 code?
-Brian
_______________________________________________
Mesa-bug maillist - [EMAIL PROTECTED]
http://lists.mesa3d.org/mailman/listinfo/mesa-bug
_______________________________________________
Mesa-dev maillist - [EMAIL PROTECTED]
http://lists.mesa3d.org/mailman/listinfo/mesa-dev