Dolphin, the GameCube and Wii emulator - Forums
Programming Discussion Thread - Printable Version

+- Dolphin, the GameCube and Wii emulator - Forums (https://forums.dolphin-emu.org)
+-- Forum: Offtopic (https://forums.dolphin-emu.org/Forum-offtopic)
+--- Forum: Delfino Plaza (https://forums.dolphin-emu.org/Forum-delfino-plaza)
+--- Thread: Programming Discussion Thread (/Thread-programming-discussion-thread)



RE: Programming Discussion Thread - garrlker - 02-15-2014

(02-15-2014, 12:03 AM)Anti-Ultimate Wrote: Mantle in Dolphin -> useless (nothing to explain, there is no gpu-cpu bottleneck going on, as in a slow cpu won't make your gpu slower in dolphin and vice versa).

Couldn't Mantle reduce some load off of the cpu because of the way draw calls are called with it? So theoretically, wouldn't it boost performance?


RE: Programming Discussion Thread - neobrain - 02-15-2014

Mantle could do everything to speed up Dolphin, but it also could be just completely useless. The good thing for AMD about publishing only PR bits and no actual API is that people don't know and start speculating all the way (which I personally consider a complete waste of time).


RE: Programming Discussion Thread - Anti-Ultimate - 02-15-2014

Gotta be honest, I had no idea what I wrote in that post.

I assume Mantle is not at all useless since it aims to allow better GPU performance by having no draw calles unlike DX/OpenGL.

Maybe this helps keep FPS steady in higher IR and SSAA modes, not sure. We'll have to wait until they release documentation^^


RE: Programming Discussion Thread - Zee530 - 02-15-2014

This is all far in the future i guess, AMD is very slow with implementing it on it's other cards, i believe like only 3 or 4 cards are supported atm Undecided


RE: Programming Discussion Thread - Shonumi - 02-26-2014

Well, things sure are coming along. Custom graphics are almost done in Game Boy Enhanced. Sprites work, so it's just a matter of optimizing that and then getting custom background tiles to load. This is just me fooling around for the moment; a screenshot really doesn't capture how things look when they're moving. At any rate, I'll probably spend March getting everything set up for the big 1.0.

[Image: ibhbSFgMAtBADr.png]


RE: Programming Discussion Thread - Zee530 - 02-26-2014

Will you be giving out T-Shirts? Tongue


RE: Programming Discussion Thread - MayImilae - 02-26-2014

Zee530 Wrote:Will you be giving out T-Shirts? Tongue

[Image: my-little-pony-brony.com-derpy-hooves-t-shirt.jpg]

*whistles innocently*


RE: Programming Discussion Thread - Shonumi - 02-26-2014

lol, no T-shirts for a One-Pony dev team :p


RE: Programming Discussion Thread - neobrain - 03-09-2014

Does anyone of you happen to be into linear interpolation algorithms?

The GC/Wii GPU provides a feature called color combiners, which essentially linearly interpolates between 3 input values and additionally scales them with some value. I've came across a fancy problem, if anyone of you is bored enough to make sense out of it, look here: http://pastie.org/private/qaohdkaqljvfsnog7xyzgg

Point is, I'm trying to understand how this lerp is implemented specifically so that I can fix Dolphin to use the same algorithm. I don't really get anything about it so far though, unfortunately...

I'm in fact currently running tests against real hardware which check all possible 16777216 inputs, because I don't quite know what else to do with this :/


RE: Programming Discussion Thread - Shonumi - 03-09-2014

@neobrain - That's pretty interesting. Just glancing over it, I think I can see where there's a pattern starting (seems to repeat for the rest of the indices after a certain point). Though what exactly it is (or rather why it is what it is) requires more poking. I'll take a look at it later tonight if you want, can't say I'll be useful though.

*FAKE BUMP

Ok, this is what I came away with:

* From index 0x20 - 0x60, the equation is ((Index*4) - 1) & 0xFF
* From index 0x61 - 0xA0, the equation is ((Index*4) - 2) & 0xFF
* From index 0xA1 - 0xE0, the equation is ((Index*4) + 1) & 0xFF
* From index 0xE0 - 0x20 (looping over from 0xFF to 0x00, naturally), the equation is simply (Index*4) & 0xFF

Hope this helps.