I bisected the rendering problem to commit adding xmm0 zeroing code to
transform functions.

4c31632817a0bde28ad6c9ee8032d838ce4b7bfb is first bad commit
commit 4c31632817a0bde28ad6c9ee8032d838ce4b7bfb
Author: Arthur HUILLET <arthur.huil...@free.fr>
Date:   Tue Jun 30 12:46:27 2009 +0200

    mesa: fix transform_points_3d_no_rot using undefined values in %xmm0

    Signed-off-by: Arthur HUILLET <arthur.huil...@free.fr>

I don't have good enough image of what is going as whole but my guess
is that xmm0 is not undefined but it is defined to be fog factor.
Reverting the commit fixed prgos/tests/fog rendering with sse swrast
for me. I didn't run regression test to see if it causes some others
bugs. But if xmm0 is undefined sometimes in transform functions the
fix should be done earlier in path where fog information is coming in.

I proposal reverting the commit to fix the fog/EXT_fogcoord in sse
swrast, But Someone with good image of how the code functions should
check it.

PS. https://bugs.freedesktop.org/show_bug.cgi?id=23494

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to