graphicsfuzz
graphicsfuzz copied to clipboard
When upgrading shader version, only rename conflicting symbols
In order to avoid collisions with builtins, the shader upgrader renames all user-defined variables and functions. This could be made more elegant by only checking collisions with builtins of the target shader version.