Skip to content

Add tests for late extension enabling and disabling.#3776

Merged
kenrussell merged 1 commit into
KhronosGroup:mainfrom
kenrussell:extension-enable-and-disable
Jun 24, 2026
Merged

Add tests for late extension enabling and disabling.#3776
kenrussell merged 1 commit into
KhronosGroup:mainfrom
kenrussell:extension-enable-and-disable

Conversation

@kenrussell

@kenrussell kenrussell commented Jun 24, 2026

Copy link
Copy Markdown
Member

These tests apply only to WebGL 1.0, which for historical reasons, allowed extensions to be enabled after non-preprocessor tokens. It was infeasible to allow extensions to be disabled late in shader parsing, so the spec has been revised to forbid this behavior. This does not seem to impact any WebGL applications in production.

Follow-up to #3774.

These tests apply only to WebGL 1.0, which for historical reasons,
allowed extensions to be enabled after non-preprocessor tokens. It was
infeasible to allow extensions to be disabled late in shader parsing,
so the spec has been revised to forbid this behavior. This does not
seem to impact any WebGL applications in production.

Follow-up to KhronosGroup#3774.
@kenrussell kenrussell force-pushed the extension-enable-and-disable branch from 3c5f6f5 to 97ac127 Compare June 24, 2026 20:55

@kainino0x kainino0x left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@kenrussell

Copy link
Copy Markdown
Member Author

Thanks for your review. Merging.

@kenrussell kenrussell merged commit 4169a3b into KhronosGroup:main Jun 24, 2026
2 checks passed
@kenrussell kenrussell deleted the extension-enable-and-disable branch June 24, 2026 21:07
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