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

Add a test for the creation of RGBA16UI textures with UNPACK_PREMULTIPLY_ALPHA_WEBGL enabled for chromium issue 40929470 #3660

Merged
merged 2 commits into from
Jul 10, 2024

Conversation

RandomGamingDev
Copy link
Contributor

RGBA16UI textures, when created with UNPACK_PREMULTIPLY_ALPHA_WEBGL set to true result in the 1282 (GL_INVALID_OPERATION) error despite that being against standards and the same thing not happening on Firefox.

The issue has been reported and a PR/CL has been requested:
Issue: https://issues.chromium.org/issues/40929470
PR/CL: https://chromium-review.googlesource.com/c/chromium/src/+/5525320

This PR is to add a test confirming that the issue's fix works and for future use.

There's also been an independent test made that this PR is based on:
https://github.com/RandomGamingDev/Chrome-UNPACK_PREMULTIPLY_ALPHA_WEBGL-Failure-Demo

@CLAassistant
Copy link

CLAassistant commented Jun 14, 2024

CLA assistant check
All committers have signed the CLA.

@RandomGamingDev
Copy link
Contributor Author

Requesting review from @kdashg and @kenrussell

@kenrussell
Copy link
Member

Thanks for your contribution and sorry for the long delay reviewing this. Have just built your Chromium pull request locally and verified that your new test catches the earlier bug.

@kenrussell kenrussell merged commit 8a1bf56 into KhronosGroup:main Jul 10, 2024
2 checks passed
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.

3 participants