Re:Ubershaders: A Ridiculous Solution to an Impossible Problem
by rasz on Sunday July 30, 2017 @10:27PM
(#14889098)
we are talking about caching TEV configuration, not compiled shaders.
They were against this solution for ~3 years, how much coverage would they get in 3 years of users uploading missing Unique ID" objects?
[ Parent
| on HN ]
Re:Ubershaders: A Ridiculous Solution to an Impossible Problem
by Tarean on Monday July 31, 2017 @07:30AM
(#14890973)
The UID's are a dolphin invention, though, on the hardware level there are just a bunch of registers set. So either you store a complete dump of the cpu state for each shader configuration or you invalidate all shared shaders when dolphin internals change.
Re:Ubershaders: A Ridiculous Solution to an Impossible Problem
by vvanders on Monday July 31, 2017 @12:26AM
(#14889450)
At the end of the day you still have to compile the shader though. A shader cache is the only way around that.
Re:Ubershaders: A Ridiculous Solution to an Impossible Problem
by mort96 on Monday July 31, 2017 @04:28AM
(#14890320)
Yes, and the parent comments are talking about a way to make it possible to compile all the shaders on startup instead of in the middle of the game. Longer loading times > stuttering.