-
Notifications
You must be signed in to change notification settings - Fork 39
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
Added translator support for Modulus token #136
base: main
Are you sure you want to change the base?
Changes from 2 commits
668b060
aa2e873
daca9b0
fb91a2e
3ce0606
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,6 +24,9 @@ shader PerlinNoise { | |
float height = noise * 10.0; | ||
vec3 color = vec3(height / 10.0, 1.0 - height / 10.0, 0.0); | ||
fragColor = vec4(color, 1.0); | ||
|
||
int color2 = 1200 % 10; //MOD test | ||
color2 %= 10; //ASSIGN_MOD test | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this is just a demo shader file do not change anything here . write tests only at There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Got it! I won't make any changes to the demo shader file. |
||
} | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you have working on
MOD
operator so only add changes forMOD
don't addAssign_MOD
here someone else might working on this task . or you can assign this task also to yourself and mention in PR.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, I'll make the changes and only include the modifications for the MOD operator in the PR