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

Don't dispatch workgroups with no elements (CPU side) #639

Merged
merged 1 commit into from
Jul 22, 2024

Conversation

DJMcNab
Copy link
Member

@DJMcNab DJMcNab commented Jul 22, 2024

This should fix #637. Note this hack should be removed once the issue is fixed in upstream wgpu.

Copy link
Contributor

@Philipp-M Philipp-M left a comment

Choose a reason for hiding this comment

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

I have no iOS device to test this, but the changes look reasonable to me when looking at the error output.

@DJMcNab
Copy link
Member Author

DJMcNab commented Jul 22, 2024

This also passes our newish test suite (incl. #630), so I'm reasonably happy to merge.

@DJMcNab DJMcNab added this pull request to the merge queue Jul 22, 2024
@waywardmonkeys
Copy link
Collaborator

Is there a link to the upstream bug?

@waywardmonkeys
Copy link
Collaborator

Oh, found it.

@DJMcNab
Copy link
Member Author

DJMcNab commented Jul 22, 2024

The upstream bug in wgpu? I've not looked for one - I asked @AngeloMateus to create one.

Merged via the queue into linebender:main with commit 94ce032 Jul 22, 2024
16 checks passed
@DJMcNab DJMcNab deleted the ios-zero branch July 22, 2024 09:33
@waywardmonkeys waywardmonkeys added this to the Vello 0.3 release milestone Aug 12, 2024
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.

IOS app crash 0.2.1
3 participants