<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Casting floating point variable to integer not working properly while constant gets converted properly"
href="https://bugs.freedesktop.org/show_bug.cgi?id=70327#c6">Comment # 6</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Casting floating point variable to integer not working properly while constant gets converted properly"
href="https://bugs.freedesktop.org/show_bug.cgi?id=70327">bug 70327</a>
from <span class="vcard"><a class="email" href="mailto:tony.wasserka@dolphin-emu.org" title="tony.wasserka@dolphin-emu.org">tony.wasserka@dolphin-emu.org</a>
</span></b>
<pre>Steps the reproduce the issue:
1. Clone the dolphin repository from the url provided at
<a href="http://code.google.com/p/dolphin-emu/source/checkout">http://code.google.com/p/dolphin-emu/source/checkout</a>
2. Checkout the tev_fixes_new branch at commit 5d8cfade42ce .
3. Build Dolphin with the build instructions outlined at
<a href="http://code.google.com/p/dolphin-emu/wiki/Linux_Build">http://code.google.com/p/dolphin-emu/wiki/Linux_Build</a> . We use CMake for our
build system, so if you're familiar with that you should be able to get it
running quickly.
4. run "dolphin-emu -b -e <path to the attached dff file>". Alternatively, run
Dolphin normally and open the dff file manually.
5. You should be able to see Mario (the main character of the game in the
rendered scene), and only Mario (I removed all unimportant stuff from the
scene). If you don't, try to make sure things work all by running any gamecube
demo elf (sorry, got no link) and following the instructions at
<a href="http://wiki.dolphin-emu.org/index.php?title=FifoPlayer">http://wiki.dolphin-emu.org/index.php?title=FifoPlayer</a> under "How to play back
a fifo log?"
Basically, r600g renders the broken screenshot that I attached, while the
software renderer renders the scene fine. Replacing "fog" in the "iprev.rgb =
(iprev.rgb * (int(256.0-fog))) / 256;" line with "0.0" makes the scene render
correctly.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>