Skip to content

Conversation

@gkv311
Copy link
Contributor

@gkv311 gkv311 commented Nov 21, 2025

Extend patch from #21184 to two more functions.

var vars = [];
for (var i = 0; i < count; i++)
vars.push(UTF8ToString({{{ makeGetValue('varyings', 'i*4', 'i32') }}}));
vars.push(UTF8ToString({{{ makeGetValue('varyings', 'i*' + POINTER_SIZE, '*') }}}));
Copy link
Collaborator

Choose a reason for hiding this comment

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

Are there any tests that cover these functions?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not any inside test folder as far as I can see.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Wow, thats no bad. No testing here. We should certainly add some, but I don't think we need to block this change on that.

Copy link
Collaborator

@sbc100 sbc100 left a comment

Choose a reason for hiding this comment

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

lgtm % testing

@sbc100 sbc100 merged commit d3aba8c into emscripten-core:main Nov 24, 2025
34 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.

2 participants