Skip to content
New issue

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

Wrong operation in constant arithmetic #429

Open
therontarigo opened this issue Jun 10, 2024 · 0 comments
Open

Wrong operation in constant arithmetic #429

therontarigo opened this issue Jun 10, 2024 · 0 comments

Comments

@therontarigo
Copy link
Contributor

Input:

out vec4 O;
void main() {
  O.r = (1.*487)/5;
}

Result: out vec4 m;void main(){m.x=97;}
Expected: something that evaluates to 97.4 (there is a related bug that neither 487./5 nor 487/5. is simplified. probably they can be solved together).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant