(my apologies for writing so many of these notes to mesa-dev,
but I sort of prefer keeping each issue on separate mail.
In this way I can write my notes directly into mail
program....)
my compiler (MS VC++) does not like passing the
empty macro parameters to CLIP in
fxfasttmp.h line 199 etc
It seems to be ok to pass + instear of the empty parameter.
(looking at the macro code
Around line 261 in fxfastpath something extra
is needed in addition to USE_X86_ASM to protect
VC from the inline assembly.
(I have USE_X86_ASM defined because I have
used the asm transformation/clipping code)
I used #if defined(USE_X86_ASM) && defined(__GNUC__)
(but is __GNUC__ the correct name ??)
same thing for line 542.
We would propably need to have the code in separate file
inorder to get the assembly functionality.
(I use PPRO so I don't 3dnow is less important for me...)
In fxclip.c another CLIP macro with problems with null
arguments. Passing + seems to be the solution.
the macro line
store[v] = - sgn store[3]; \
might give problems with a picky compiler,
so changed it to:
store[v] = - (sgn store[3]); \
With these changes I managed to compile the latest sources.
(More messages to come when I try to use it ... ;-)
Eero
_______________________________________________
Mesa-dev maillist - [EMAIL PROTECTED]
http://lists.mesa3d.org/mailman/listinfo/mesa-dev