Avoid shader string copy when possible.