+ shader_addline(buffer, "\nvec3 ffp_normalize(vec3 n)\n{"); + shader_addline(buffer, " float lensq = dot(n, n);\n"); + shader_addline(buffer, " return lensq == 0.0 ? n : (n * inversesqrt(lensq));\n"); + shader_addline(buffer, "}");
This is missing newlines after "{" and "}". It'll still work, of course, but the generated code will be slightly ugly.
This fixes [36564](https://bugs.winehq.org/show_bug.cgi?id=36564).
We normally use "Wine-Bug: " for those.