posh
posh copied to clipboard
Program cache breaks when variables are passed as shader functions
This is a pretty bad bug and, unfortunately, a big footgun. It is caused by the fact that we use TypeId of the passed shader functions as cache key in ProgramCache.