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

Introduce Expression::Literal. #2333

Merged
merged 4 commits into from
May 11, 2023
Merged

Conversation

jimblandy
Copy link
Member

This is part of #2266, which I'm trying to break down into smaller pieces that I can review. @teoxoy is the author; I'll figure out how to fix up the commit to say so tomorrow.

This introduces Expression::Literal to the IR, and supports it in the backends, but there's nothing in the front ends to introduce such expressions, so in its current state it has no effect on the snapshots.

This depends on #2331 and #2332.

@jimblandy jimblandy marked this pull request as ready for review May 11, 2023 06:23
@jimblandy
Copy link
Member Author

For the record, I've checked all the SPIR-V snapshots and they look fine.

I haven't actually reviewed the code changes yet.

@jimblandy jimblandy requested a review from teoxoy May 11, 2023 06:29
Copy link
Member

@teoxoy teoxoy left a comment

Choose a reason for hiding this comment

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

Looks good!

src/back/spv/writer.rs Outdated Show resolved Hide resolved
@jimblandy jimblandy enabled auto-merge (rebase) May 11, 2023 13:54
@jimblandy jimblandy merged commit d763fb3 into gfx-rs:master May 11, 2023
@jimblandy jimblandy deleted the expression-literal branch September 20, 2023 18:25
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