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

Move WGPUTexelCopyBufferLayout.offset to WGPUTexelCopyBufferInfo #433

Conversation

kainino0x
Copy link
Collaborator

@kainino0x kainino0x commented Nov 23, 2024

CopyBufferToTexture/CopyTextureToBuffer need this offset, but WriteTexture does not because it takes a CPU pointer.

Fixes #379
(dawn bug https://crbug.com/380508199)

CopyBufferToTexture/CopyTextureToBuffer need this offset but
WriteTexture does not.

Fixes 379
@kainino0x kainino0x added the !discuss Needs discussion (at meeting or online) label Nov 23, 2024
@kainino0x kainino0x closed this Nov 25, 2024
@kainino0x kainino0x deleted the texel-copy-buffer-layout-offset branch November 26, 2024 00:35
@kainino0x kainino0x removed the !discuss Needs discussion (at meeting or online) label Dec 18, 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.

WriteTexture doesn't need WGPUTextureDataLayout.offset
1 participant