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

Make max_buffer_size as big as possible #12

Merged
merged 1 commit into from
Jun 21, 2024
Merged

Make max_buffer_size as big as possible #12

merged 1 commit into from
Jun 21, 2024

Conversation

apontzen
Copy link
Member

In recent wgpu, max_buffer_size in a device may default to 256MB which is too small for topsy.

However, max_buffer_size as reported by the adapter may be so large that it causes an overflow if one just
tries to request that much.

This is an attempt to work around these restrictions

@apontzen apontzen merged commit 5689a40 into main Jun 21, 2024
6 checks passed
@apontzen apontzen deleted the max-buffer-size branch June 21, 2024 21:04
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.

1 participant