[Bug 70327] Casting floating point variable to integer not working properly while constant gets converted properly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Comment # 6 on bug 70327 from
Steps the reproduce the issue:
1. Clone the dolphin repository from the url provided at
http://code.google.com/p/dolphin-emu/source/checkout
2. Checkout the tev_fixes_new branch at commit 5d8cfade42ce .
3. Build Dolphin with the build instructions outlined at
http://code.google.com/p/dolphin-emu/wiki/Linux_Build . 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
http://wiki.dolphin-emu.org/index.php?title=FifoPlayer 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.


You are receiving this mail because:
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel

[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux