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

Update deno_webgpu #2539

Merged
merged 10 commits into from
Mar 19, 2022
Merged

Update deno_webgpu #2539

merged 10 commits into from
Mar 19, 2022

Conversation

crowlKats
Copy link
Collaborator

@crowlKats crowlKats commented Mar 13, 2022

I have updated #2170

@crowlKats
Copy link
Collaborator Author

Actually, want to wait for a new deno version to release on wednesday/thursday, so please dont merge yet

@cwfitzgerald cwfitzgerald marked this pull request as draft March 14, 2022 20:33
@crowlKats crowlKats marked this pull request as ready for review March 17, 2022 19:41
@crowlKats
Copy link
Collaborator Author

This PR does already quite a few changes, so I will create a followup once this is merge for a refactor

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.

Looks even nicer now!

@kvark kvark merged commit cd6eb2d into gfx-rs:master Mar 19, 2022
@crowlKats
Copy link
Collaborator Author

Looks even nicer now!

and the follow up will look even nicer than that!

@crowlKats crowlKats deleted the update_deno branch March 19, 2022 09:58
cwfitzgerald pushed a commit that referenced this pull request Oct 25, 2023
…2576)

Do not emit an `Expression::As` conversion for WGSL like `vec3(v)`
where `v` is already a `vec3`, or `mat2x3(m)` where `m` is already a
2x3 matrix. This doesn't fix any bugs, but it makes it clearer to the
reader of `Lowerer::construct` that no conversion can actually take
place in this case.

Some snapshots are affected because `As` expressions whose `width` is
`None` are bitcast expressions, which the constant evaluator does not
yet support. When this commit removes those `As` expressions, the
constant evaluator can reduce the expression to a `Literal` or
`ZeroValue`, which is then concealed by #2539.
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