So, we should really fix this. The two options are :
- Keep a different calling convention under linux (cdecl by default,
which requires saving esi by hand in the shader) and apply Victor's
patch which saves & restores this register
- Use the same calling convention on all platforms, that is change
include/pipe/p_compiler.h to define XSTDCALL to stdcall on linux,
because for now it's empty, which is _not_ stdcall but cdecl.

In any case, this is a serious issue as under linux esi gets corrupted
on return from the SSE call. Which, of course, causes crashes.


Check out the new Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.;164216239;13503038;w?
Dri-devel mailing list

Reply via email to