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

chore: update deps (vello, thiserror) #44

Merged
merged 3 commits into from
Nov 18, 2024
Merged

Conversation

simbleau
Copy link
Member

@simbleau simbleau commented Nov 11, 2024

New version 0.4.0:

  • Update to vello 0.3
  • thiserror to 2.0

@@ -68,6 +77,8 @@ This release has an [MSRV][] of 1.75.
[#42]: https://github.com/linebender/velato/pull/42

[Unreleased]: https://github.com/linebender/velato/compare/v0.3.0...HEAD
[0.4.0]: https://github.com/linebender/velato/compare/v0.3.1...v0.4.0
[0.3.1]: https://github.com/linebender/velato/compare/v0.3.0...v0.3.1
Copy link
Member Author

@simbleau simbleau Nov 11, 2024

Choose a reason for hiding this comment

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

I realize I forgot this link on the last release, so I'm including it here.

Copy link
Contributor

Choose a reason for hiding this comment

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

That's why you should do a release as a separate PR and let someone else review it. Might've caught it.

#[cfg(not(target_arch = "wasm32"))]
{
scene_complexity = vello::block_on_wgpu(
scene_complexity = vello::util::block_on_wgpu(
Copy link
Member

@DJMcNab DJMcNab Nov 12, 2024

Choose a reason for hiding this comment

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

I'd suggest just removing the async pipeline support entirely.

Copy link
Member Author

Choose a reason for hiding this comment

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

Would there be a better approach to take entirely?

The examples are copied from vello, but done so a while back. They don't have parity either, some changes were made to play lottie files obviously.

Would it be better to just remove all examples and just have a very simple wasm/native example without all the diagnostics and head scratching?

Copy link
Member Author

Choose a reason for hiding this comment

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

If so, I'd be fine pushing this through and then making a follow up PR to gut the examples with a simpler one.

Copy link
Member

Choose a reason for hiding this comment

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

Removing that pipeline doesn't matter that much in the grand scheme of things - this example is more of a demo than an actionable example.

Copy link
Member

@DJMcNab DJMcNab left a comment

Choose a reason for hiding this comment

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

Approving to unblock. I'd still prefer the async pipeline usage be removed, as that API is no longer bound by our upstream semver guarantees.

#[cfg(not(target_arch = "wasm32"))]
{
scene_complexity = vello::block_on_wgpu(
scene_complexity = vello::util::block_on_wgpu(
Copy link
Member

Choose a reason for hiding this comment

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

Removing that pipeline doesn't matter that much in the grand scheme of things - this example is more of a demo than an actionable example.

@simbleau simbleau added this pull request to the merge queue Nov 18, 2024
Merged via the queue into main with commit 226fdbf Nov 18, 2024
16 checks passed
@simbleau simbleau deleted the simbleau/update-deps branch November 18, 2024 14:51
CHANGELOG.md Show resolved Hide resolved
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.

3 participants