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

Fix the computation of requiredBytesInCopy #1130

Merged
merged 1 commit into from
Oct 5, 2020

Conversation

kainino0x
Copy link
Contributor

@kainino0x kainino0x commented Oct 3, 2020

I previously updated this in #1014. This PR fixes some cases where
requiredBytesInCopy was too large:

  • 2x0x0: previously 2 * block size, now 0.
  • 2x2x0: previously 4 * block size, now 0.

Preview | Diff

I previously updated this in gpuweb#1014. This PR fixes some cases where
requiredBytesInCopy was too large:

- 2x0x0: previously 2 * block size, now 0.
- 2x2x0: previously 4 * block size, now 0.
Copy link
Contributor

@kvark kvark left a comment

Choose a reason for hiding this comment

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

Nice!

@kvark kvark merged commit ad5f5f3 into gpuweb:main Oct 5, 2020
@kainino0x kainino0x deleted the requiredBytesInCopy-fix branch February 9, 2021 03:51
ben-clayton pushed a commit to ben-clayton/gpuweb that referenced this pull request Sep 6, 2022
Also add a TODO to duplicate these tests for createRenderPipeline.

See gpuweb#1130
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.

None yet

2 participants