Skip to content

Check the math for buffer-texture copies#7874

Merged
jimblandy merged 1 commit intogfx-rs:trunkfrom
andyleiserson:math1
Jul 8, 2025
Merged

Check the math for buffer-texture copies#7874
jimblandy merged 1 commit intogfx-rs:trunkfrom
andyleiserson:math1

Conversation

@andyleiserson
Copy link
Copy Markdown
Contributor

Check the math for buffer-texture copies (i.e. validate_linear_texture_data) more carefully. This fixes the original issue reported in #1039, but not the other cases I mentioned in a comment.

Testing
Enables a CTS test and adds directed tests.

Squash or Rebase? Squash

Checklist

  • Run cargo fmt.
  • Run taplo format.
  • Run cargo clippy --tests. If applicable, add:
    • --target wasm32-unknown-unknown
  • Run cargo xtask test to run tests.
  • If this contains user-facing changes, add a CHANGELOG.md entry.

@jimblandy jimblandy merged commit 3d0fe3a into gfx-rs:trunk Jul 8, 2025
40 checks passed
@andyleiserson andyleiserson deleted the math1 branch July 8, 2025 20:44
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.

2 participants