You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Well, there are at least some[1][2][3] that are totally static. For those cases, it would not only improve readability but also remove some unnecessary work that is being done at runtime currently.
I see some examples of dynamic shader code, such as this debug flag. Is that something that could be accomplished with preprocessor directives such that the shader program itself becomes static?
Right now they're inlined as arrays of strings with
join('\n')
called on them.The text was updated successfully, but these errors were encountered: