[Bug 107212] Dual-Core CPU E5500 / G45: RetroArch with reicast core results in corrupted graphics

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Jul 22 04:56:01 UTC 2018


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

--- Comment #27 from Diego Viola <diego.viola at gmail.com> ---
Hi, after some investigation we have concluded that removing these two
gl_FragDepth lines:

https://github.com/libretro/reicast-emulator/blob/2d411a166d8fa4a4cc5f0cb23c3f60537774333d/core/rend/gles/gles.cpp#L271

and:

https://github.com/libretro/reicast-emulator/blob/2d411a166d8fa4a4cc5f0cb23c3f60537774333d/core/rend/gles/gles.cpp#L291

And replacing this line:

https://github.com/libretro/reicast-emulator/blob/2d411a166d8fa4a4cc5f0cb23c3f60537774333d/core/rend/gles/gles.cpp#L107

    vpos.z = vpos.w; \n"

with:

    vpos.z = (1 - 0.002*vpos.w) * vpos.w; \n"

Gives me proper in-game graphics.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20180722/60a9d347/attachment.html>


More information about the intel-3d-bugs mailing list