Skip to content

Conversation

waywardmonkeys
Copy link
Collaborator

wgpu 25 adjusted the downlevel limits so directly
setting max_color_attachments to 4 is no longer necessary (gfx-rs/wgpu#6994).

wgpu 25 also now does polyfills for unpack4x8unorm and friends thanks to @DJMcNab in gfx-rs/wgpu#7408.

@waywardmonkeys
Copy link
Collaborator Author

This will need Wumpf/wgpu-profiler#95

@waywardmonkeys
Copy link
Collaborator Author

Also, before this lands, we'll need to do a release of Vello that uses wgpu 24 to keep bevy_vello happy.

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.

We should also audit our uses of BufferSlice, to make sure they're still needed. In particular, I think .slice(..) can be removed entirely.

Cargo.toml Outdated
@@ -112,7 +112,7 @@ vello_hybrid = { path = "sparse_strips/vello_hybrid" }
vello_hybrid_scenes = { path = "sparse_strips/vello_hybrid/examples/scenes" }

# NOTE: Make sure to keep this in sync with the version badge in README.md and vello/README.md
wgpu = { version = "24.0.1" }
wgpu = { version = "25.0.0" }
Copy link
Member

Choose a reason for hiding this comment

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

Thoughts: We could make this default-features=false. That makes some things complicated, and some things better.

Probably not for this PR

@waywardmonkeys waywardmonkeys force-pushed the update-wgpu-25 branch 2 times, most recently from 54a9cef to fdac86c Compare May 3, 2025 10:54
@sagudev
Copy link
Contributor

sagudev commented Jun 22, 2025

any progress with this?

@nicoburns nicoburns added the dependencies Pull requests that update a dependency file label Jul 2, 2025
wgpu 25 adjusted the downlevel limits so directly
setting `max_color_attachments` to 4 is no longer necessary
(gfx-rs/wgpu#6994).

wgpu 25 also now does polyfills for `unpack4x8unorm` and friends
thanks to @DJMcNab in gfx-rs/wgpu#7408.
@waywardmonkeys waywardmonkeys marked this pull request as ready for review July 10, 2025 08:58
@waywardmonkeys
Copy link
Collaborator Author

We should also audit our uses of BufferSlice, to make sure they're still needed. In particular, I think .slice(..) can be removed entirely.

Sounds like a good follow up for someone that isn't me!

@waywardmonkeys
Copy link
Collaborator Author

Okay. I'd like to land this. Bevy 0.17 is coming up and while it is currently on wgpu 25, they're probably going to update to the newly released wgpu 26 before releasing 0.17.

I don't see us publishing a new Vello in the next couple of weeks, so let's just roll this through.

@waywardmonkeys waywardmonkeys added this pull request to the merge queue Jul 10, 2025
Merged via the queue into linebender:main with commit a97987f Jul 10, 2025
17 checks passed
@waywardmonkeys waywardmonkeys deleted the update-wgpu-25 branch July 10, 2025 10:31
github-merge-queue bot pushed a commit that referenced this pull request Jul 14, 2025
In servo I observed performance regression with #908:
https://xi.zulipchat.com/#narrow/channel/197075-vello/topic/Servo.202D.20canvas.20backend/with/528398019

but disabling shader runtime checks gives it back on pre #908.

---------

Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants