Skip to content

Update wgpu to 22.0#2510

Merged
hecrj merged 3 commits intomasterfrom
wgpu-22.0
Sep 19, 2024
Merged

Update wgpu to 22.0#2510
hecrj merged 3 commits intomasterfrom
wgpu-22.0

Conversation

@hecrj
Copy link
Member

@hecrj hecrj commented Jul 19, 2024

Closes #2417.
Closes #2507.

@hecrj hecrj added this to the 0.13 milestone Jul 19, 2024
@hecrj
Copy link
Member Author

hecrj commented Jul 21, 2024

This is waiting on a resolution of gfx-rs/wgpu#5756.

@hecrj hecrj mentioned this pull request Jul 21, 2024
@choyunjin
Copy link
Contributor

I'm the person who opened #2507 and going to use this framework with vello crate. However, it requires version 0.3.69 of web-sys and makes conflict with iced. Can you solve it at first, please?

@hecrj hecrj modified the milestones: 0.13, 0.14 Sep 11, 2024
For now, this feature flag only enables validation
in `iced_wgpu`; which has become quite expensive
since its `0.20` release.
@hecrj
Copy link
Member Author

hecrj commented Sep 19, 2024

I have finally been able to trace down the root cause of the wgpu "issue" blocking this PR.

As I explain in my comment, it turns out it's not an issue at all and we can simply control the validation layers with a new feature flag: strict-assertions.

I see no reason for users of the library to run validation layers unless they are having issues, therefore the feature flag is disabled by default.

In my testing, disabling validation actually makes debug builds quite faster when using the Vulkan backend. So, the overhead has turned into an unexpected speedup!

I think we can finally merge this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants