Skip to content

Conversation

@cqundefine
Copy link
Contributor

@cqundefine cqundefine commented Nov 7, 2025

Just fixing a few more failures I found in the WebGL testsuite.

@cqundefine cqundefine force-pushed the even_more_webgl_fixes branch 2 times, most recently from 611d6e3 to 7f96ab6 Compare November 11, 2025 16:43
Copy link
Contributor

@konradekk konradekk left a comment

Choose a reason for hiding this comment

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

location_handle computation is very repetitive, could it be extracted to some (inline?) function instead?

The spec mandates that a buffer during its lifetime can only get bound
to either an index buffer or any other type.
The spec mandates that each uniform location object only gets used with
the program it was created with.
@cqundefine cqundefine force-pushed the even_more_webgl_fixes branch from 7f96ab6 to 92a2edf Compare November 18, 2025 17:11
@cqundefine
Copy link
Contributor Author

location_handle computation is very repetitive, could it be extracted to some (inline?) function instead?

Looking at how it's already pretty minimal, different between some functions and the fact that a similar pattern is already present in a lot of places I'm not sure there's any easy way to factor it out.

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