• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Development Discussion v
« Previous 1 2 3 4 5 ... 117 Next »

[UNOFFICIAL] Ishiiruka-Dolphin Custom Version
View New Posts | View Today's Posts

Pages (806): « Previous 1 ... 480 481 482 483 484 ... 806 Next »
Jump to page 
Thread Rating:
  • 33 Vote(s) - 4.55 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
[UNOFFICIAL] Ishiiruka-Dolphin Custom Version
06-17-2016, 03:33 AM
#4,811
Tino Offline
Above and Beyond
*******
Posts: 2,276
Threads: 1
Joined: Oct 2013
Teorically it could be done, you have to detect the usage of a specific material, then on a geometry shader generate the new geometry using the original material plane as a reference for the position.
Is doable but not easy. Smile
Find
Reply
06-17-2016, 05:39 AM
#4,812
rlaugh0095 Offline
God of Conquest
****
Posts: 519
Threads: 28
Joined: Oct 2013
(06-17-2016, 03:33 AM)Tino Wrote: Teorically it could be done, you have to detect the usage of a specific material, then on a geometry shader generate the new geometry using the original material plane as a reference for the position.
Is doable but not easy. Smile
Not easy is scary. XD 
Though I had my suspensions. Honestly I thought it would be something you would have to hack in specific games, so it's somewhat better than I expected. Knowing more than one game could benefit from it is a relief.
Find
Reply
06-19-2016, 05:38 AM
#4,813
Tino Offline
Above and Beyond
*******
Posts: 2,276
Threads: 1
Joined: Oct 2013
updated latest folder with a new version. Added the ability to generate a shader usage database.
this database will store usage data for all the shaders, with this info users will be able to, once the databace is generated, precompile the shaders on startup, reducing even more stutering and what is best you can share the database with other users to allow them to play without shader issues.
2 new options added to the ui, shader profiling and shader compilation on startup.
when enabled, shader profiling will register shader usage to the databases.
shader compilation on startup will allow precompilation of the shaders on game boot time.
Added a start version of the databases (I dont have many games) and i hope that people with more games will share their databases to allow a better game experience to everyone.
testing and feedback are welcome. be warned that on dx9 in some games precompilation can take up to 20 minutes the first time, dx11 and 12 up to 1 minute. After that loading time will be normal.
the other good news is that database is available for opengl so ogl user can have stutter free gameplay now.
please share your databases i will make a tool later to join them and share them on new versions.
Find
Reply
06-19-2016, 05:55 AM
#4,814
Helios Offline
Stellaaaaaaa
**********
Developers (Some Administrators and Super Moderators)
Posts: 4,395
Threads: 15
Joined: May 2012
This is really cool. Nice work.
Find
Reply
06-19-2016, 06:02 AM (This post was last modified: 06-19-2016, 06:02 AM by Tino.)
#4,815
Tino Offline
Above and Beyond
*******
Posts: 2,276
Threads: 1
Joined: Oct 2013
@Helios: Thanks to you all guys recent changes in master are making my life a lot easy and dolphin a lot better Smile.
hope this can get to master as is usefull even with no async shader compilation. hope they merge phire changes soon so this can be applicable.
Find
Reply
06-19-2016, 06:48 AM
#4,816
StripTheSoul Offline
YouKittenMe?
*******
Posts: 4,639
Threads: 39
Joined: Oct 2009
Wow, Tino is always good for a nice surprise Big Grin
I guess Ishiiruka doesn't even need this so much but maybe it'll get into master at some point.
However, do these shader files even carry over to future builds? It wouldn't be very helpful if one needed new ones for every new build...
Intel i5-4690k (Devil's Canyon) @ 3.5 GHz (+Scythe Mugen) / Gainward GTX 1070 Phoenix (OC'd) / ASUS Z97 PRO GAMER / 16GB G.Skill DDR3-2400 CL10 TridentX / X-Fi XtremeMusic / Win10 Pro 64bit / Dell S2716DG Monitor / 3x original WiiMote+MotionPlus+Nunchuk
Find
Reply
06-19-2016, 07:00 AM (This post was last modified: 06-19-2016, 07:14 AM by Tino.)
#4,817
Tino Offline
Above and Beyond
*******
Posts: 2,276
Threads: 1
Joined: Oct 2013
database files, can stay as long as the uid structure does not change, so even if shader generator code changes as long as uid is the same the database will be valid, and even in that case you can always create a migration app to allow reuse of old databases.
Find
Reply
06-19-2016, 07:43 AM (This post was last modified: 06-19-2016, 08:17 AM by StripTheSoul.)
#4,818
StripTheSoul Offline
YouKittenMe?
*******
Posts: 4,639
Threads: 39
Joined: Oct 2009
Sorry for n00b-question, but what is the uid and when does it change? Only when there are changes in Dolphin that directly affect shaders?

EDIT: So now I just played a bit of Mario Kart Wii with that Shader Usage Profiling option enabled. Is Idx12-RMCE01-pso.cache in the Cache->Shader folder now the file that should be uploaded?
Also, would I have to play through the whole game to get a 'complete' shader profile?

What I find weird: Apart from said file there are also five IDX11-RMCE01 files in the folder (I deleted all shader files before playing), and one of them is even 5.6 MB, even though I only used DX12...
Intel i5-4690k (Devil's Canyon) @ 3.5 GHz (+Scythe Mugen) / Gainward GTX 1070 Phoenix (OC'd) / ASUS Z97 PRO GAMER / 16GB G.Skill DDR3-2400 CL10 TridentX / X-Fi XtremeMusic / Win10 Pro 64bit / Dell S2716DG Monitor / 3x original WiiMote+MotionPlus+Nunchuk
Find
Reply
06-19-2016, 07:46 AM (This post was last modified: 06-19-2016, 07:54 AM by delroth.)
#4,819
delroth Offline
Making the world a better place through reverse engineered DSP firmwares
**********
Developers (Some Administrators and Super Moderators)
Posts: 1,354
Threads: 63
Joined: Aug 2011
Hey Tino,

We're going to merge https://github.com/dolphin-emu/dolphin/pull/3905 soon-ish (in all likelihood). Could you make sure that your Ishiiruka builds are considered as a separate "distributor" from our official builds by setting the DOLPHIN_DISTRIBUTOR environment variable to something like "Ishiiruka" on the machine you use to build Dolphin?

Thanks!
Pierre "delroth" Bourdon - @delroth_ - Blog

<@neobrain> that looks sophisticated enough to not be a totally dumb thing to do
Website Find
Reply
06-19-2016, 08:32 AM
#4,820
Tino Offline
Above and Beyond
*******
Posts: 2,276
Threads: 1
Joined: Oct 2013
(06-19-2016, 07:43 AM)StripTheSoul Wrote: Sorry for n00b-question, but what is the uid and when does it change? Only when there are changes in Dolphin that directly affect shaders?

EDIT: So now I just played a bit of Mario Kart Wii with that Shader Usage Profiling option enabled. Is Idx12-RMCE01-pso.cache in the Cache->Shader folder now the file that should be uploaded?
Also, would I have to play through the whole game to get a 'complete' shader profile?

What I find weird: Apart from said file there are also five IDX11-RMCE01 files in the folder (I deleted all shader files before playing), and one of them is even 5.6 MB, even though I only used DX12...

Inside the same folder the executable is located there are 4 files ishiiruka.ps.usage ishiiruka.vs.usage ishiiruka.gs.usage and ishiiruka.ts.usage those files are the database for dx11 and dx12. The files you were looking at are the bytecode cache filles.
Find
Reply
« Next Oldest | Next Newest »
Pages (806): « Previous 1 ... 480 481 482 483 484 ... 806 Next »
Jump to page 


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode