Hi,
I want to change our overflow emulation code of the Pixelshader. As the real hardware uses integers in the TEV, there may be overflows. But current PC hardware always uses floats in shader, so it's hard to emulate the overflows correctly. But the current implementation isn't stable as it overflow at exactly 256.0 instead of the middle of two valid values 255.5.
This change is easy to do, but it's hard to predict (nearly impossible) which regressions it may have. So I need much testing here :-)
As this may also fix other known issues, you could try all known issues which have some random pixel errors.
For all, who want to build the patch yourself: http://pastie.org/8210871
All windows users: win64 win32
Regressions:
Mario Kart Doube Dash
Zelda Twilight Princess
Fixed issues:
3313 - Pink Water Highlights in The Legend of Zelda: The Wind Waker
6391 - Battlefield Backgrounds Flickers Strange Artifacts Intermittently
6442 - Supep Mario Sunshine TEV Issue
I want to change our overflow emulation code of the Pixelshader. As the real hardware uses integers in the TEV, there may be overflows. But current PC hardware always uses floats in shader, so it's hard to emulate the overflows correctly. But the current implementation isn't stable as it overflow at exactly 256.0 instead of the middle of two valid values 255.5.
This change is easy to do, but it's hard to predict (nearly impossible) which regressions it may have. So I need much testing here :-)
As this may also fix other known issues, you could try all known issues which have some random pixel errors.
For all, who want to build the patch yourself: http://pastie.org/8210871
All windows users: win64 win32
Regressions:
Mario Kart Doube Dash
Zelda Twilight Princess
Fixed issues:
3313 - Pink Water Highlights in The Legend of Zelda: The Wind Waker
6391 - Battlefield Backgrounds Flickers Strange Artifacts Intermittently
6442 - Supep Mario Sunshine TEV Issue