RPCS3 Forums
Pre-emptive Shader Caching - Possibility? - Printable Version

+- RPCS3 Forums (https://forums.rpcs3.net)
+-- Forum: Community (https://forums.rpcs3.net/forumdisplay.php?fid=1)
+--- Forum: General Discussion (https://forums.rpcs3.net/forumdisplay.php?fid=16)
+--- Thread: Pre-emptive Shader Caching - Possibility? (/showthread.php?tid=200773)



Pre-emptive Shader Caching - Possibility? - BloodyBonzai - 08-23-2019

I was thinking that perhaps there is a way to have RPCS3 run through the data on the disc and compile a shader cache before starting the game.  This way there is no longer an annoying shader compilation period.  Is this a possibility?


RE: Pre-emptive Shader Caching - Possibility? - Ani - 08-23-2019

Not possible


RE: Pre-emptive Shader Caching - Possibility? - BloodyBonzai - 08-24-2019

(08-23-2019, 10:42 PM)Ani Wrote: Not possible
Thats too bad.  I thought it would be possible if save data were used to have RPCS3 precompile the shader cache by loading every save spot, compile the shader cache and when complete move onto the next save.  But then again I guess the user could go through that process by themselves if the there were a file for each game of every save location.  Might not be perfect if an area does not have a save location, but using that strategy I would assume it could be implemented into RPCS3 if the work were put into it.  Or is the save data copyright material?


RE: Pre-emptive Shader Caching - Possibility? - Ani - 08-24-2019

If you have savedata files enough to generate almost all of the game's shaders you can do it manually yes by entering every section one by one, using different characters that may generate different shaders, etc. But that's not a very good solution, as it would require an obnoxious amount of work to pinpoint all required savedata for a game and making some automated mechanism specific to every game to enter the game, load the savedata and perform the required input, then load the next save, etc.