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

[glsl-in] Expression emitting #889

Merged
merged 4 commits into from
May 21, 2021
Merged

[glsl-in] Expression emitting #889

merged 4 commits into from
May 21, 2021

Conversation

JCapucho
Copy link
Collaborator

No description provided.

@JCapucho JCapucho requested a review from kvark May 20, 2021 20:22
Copy link
Member

@kvark kvark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a few notes, looks good overall!

src/front/glsl/ast.rs Outdated Show resolved Hide resolved
src/front/glsl/ast.rs Outdated Show resolved Hide resolved
src/front/glsl/ast.rs Outdated Show resolved Hide resolved
src/front/glsl/ast.rs Outdated Show resolved Hide resolved
Ok(ctx.add_expression(
Expression::Math {
fun: match name.as_str() {
"ceil" => MathFunction::Ceil,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would be good to move this match out into a conv module or something

src/front/glsl/parser.rs Outdated Show resolved Hide resolved
src/front/mod.rs Outdated Show resolved Hide resolved
@kvark kvark merged commit 72fca17 into gfx-rs:master May 21, 2021
@JCapucho JCapucho deleted the glsl-emitting branch July 5, 2021 11:13
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

Successfully merging this pull request may close these issues.

2 participants