We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Apparently, this is allowed:
vec3 v3 = vec3(1); vec4 v4 = vec4(v3, v3);
and should be equivalent to v3.xyzx, but Minifier returns vec4(v3) which doesn't compile.
v3.xyzx
vec4(v3)
The text was updated successfully, but these errors were encountered:
Apply vector simplification only when the number of arguments matches (…
a1c2093
…#251) vec3(x,x,x) => vec3(x) vec4(v2,v2) => vec4(v2,v2) Fixes #249
Successfully merging a pull request may close this issue.
Apparently, this is allowed:
and should be equivalent to
v3.xyzx
, but Minifier returnsvec4(v3)
which doesn't compile.The text was updated successfully, but these errors were encountered: