Skip to content

Remove MAX_COLOR_ATTACHMENTS_WITH_ACTIVE_PIXEL_LOCAL_STORAGE enum. #3726

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

Merged
merged 2 commits into from
Mar 25, 2025

Conversation

kenrussell
Copy link
Member

Remove this enum from the WEBGL_shader_pixel_local_storage extension, and renumber the remaining enums, both of which have already been done in the underlying ANGLE extension.

Remove the use of this enum from the pixel local storage CTS test as well. The new test passes on Chromium with all of these changes made.

Associated with https://anglebug.com/40096838 .

Remove this enum from the WEBGL_shader_pixel_local_storage extension,
and renumber the remaining enums, both of which have already been done
in the underlying ANGLE extension.

Remove the use of this enum from the pixel local storage CTS test as
well. The new test passes on Chromium with all of these changes made.

Associated with https://anglebug.com/40096838 .
Copy link
Member

@lexaknyazev lexaknyazev left a comment

Choose a reason for hiding this comment

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

Please add asserts for all PLS enums (it could be a follow-up to land this PR faster) like:

shouldBe("pls.MAX_PIXEL_LOCAL_STORAGE_PLANES_WEBGL", "0x96E0");

@kenrussell
Copy link
Member Author

Thanks for your review Alexey; good idea. Added verification of the extension's enums; these pass.

Copy link
Contributor

@csmartdalton csmartdalton left a comment

Choose a reason for hiding this comment

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

Looks good! Thanks for the test checking the Enum values.

@kenrussell kenrussell merged commit c01b768 into KhronosGroup:main Mar 25, 2025
2 checks passed
@kenrussell kenrussell deleted the fix-pls branch March 25, 2025 18:04
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