Skip to content

Check results in copyTex{Sub}Image tests. - #3804

Merged
kenrussell merged 2 commits into
KhronosGroup:mainfrom
kenrussell:improve-float-tests
Nov 5, 2026
Merged

kenrussell merged 2 commits into
KhronosGroup:mainfrom
kenrussell:improve-float-tests

Conversation

@kenrussell

Copy link
Copy Markdown
Member

After performing copyTex{Sub}Image, verify the color channels of the destination texture to ensure the copy was performed correctly. Strengthens the following tests:

conformance/extensions/ext-color-buffer-half-float.html
conformance2/extensions/ext-color-buffer-float.html
conformance2/extensions/ext-color-buffer-half-float.html
conformance2/textures/misc/copy-texture-image.html

Associated with Chromium bug crbug.com/576651388.

Co-authored with Gemini.

After performing copyTex{Sub}Image, verify the color channels of the
destination texture to ensure the copy was performed correctly.
Strengthens the following tests:

  conformance/extensions/ext-color-buffer-half-float.html
  conformance2/extensions/ext-color-buffer-float.html
  conformance2/extensions/ext-color-buffer-half-float.html
  conformance2/textures/misc/copy-texture-image.html

Associated with Chromium bug crbug.com/576651388.
@kenrussell

Copy link
Copy Markdown
Member Author

@lexaknyazev could you please review these changes?

After my own review it does seem that 32-bit floating point tests were added where they shouldn't be, so I can go back and revise this.

@kenrussell

Copy link
Copy Markdown
Member Author

Note: reran the affected tests on Pixel 10; all pass.

@kenrussell
kenrussell merged commit 3944321 into KhronosGroup:main Nov 5, 2026
2 checks passed
@kenrussell
kenrussell deleted the improve-float-tests branch November 5, 2026 22:53
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