Skip to content

Conversation

@csyonghe
Copy link
Collaborator

Closes #9304.

@csyonghe csyonghe requested a review from a team as a code owner December 25, 2025 06:47
@csyonghe csyonghe added the pr: non-breaking PRs without breaking changes label Dec 25, 2025
SLANG_CHECK(globalVarTypeLayout->getFieldByIndex(field0)->getTypeLayout()->getSize() == 16);

auto field1 = globalVarTypeLayout->findFieldIndexByName("NS::gParam");
SLANG_CHECK_ABORT(field1 != -1);
Copy link
Collaborator

Choose a reason for hiding this comment

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

I would probably add a test that field0 != field1, just for completeness and clarity.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr: non-breaking PRs without breaking changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Namespaces not used to look up resource names

2 participants