[Shaders] Using PSREG >c31 crashes the game on startup when replacing UnlitGeneric
Should be self-explanatory. Tested on a TF2 Mod. Boolean Registers work fine, don't know about Integer but probably unaffected. I'm probably the only person that will ever use them..
I figured this out the hard way, I avoid c0-c31 because of force pushed values there. Tint happens to be c32 on my Shaders, so I would pretty much force crash it every launch 👍 👍 👍
TLDR: sm3.0 registers are enabled too late Shaders that use these registers before 'the hack' is applied crash the game. ( the hack: know 100% what is being done that causes this issue. Lazy!!! )
Also crashes the game when doing quit, when UnlitGeneric is used on in VGUI somewhere This just tells me that the c32+ registers are entirely untested.
Same issue as #188.
Closing in favor of the older issue report.