Skip to content

webgpu: Support skinning on WebGPU #9137

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

webgpu: Support skinning on WebGPU #9137

wants to merge 1 commit into from

Conversation

jc3265
Copy link
Contributor

@jc3265 jc3265 commented Aug 22, 2025

BUGS = [436886048]

@jc3265 jc3265 added the internal Issue/PR does not affect clients label Aug 22, 2025
}
out << "};\n";
out << "const " << STRUCT_NAME << " " << PUSH_CONSTANT_STRUCT_VAR_NAME << " = "
<< STRUCT_NAME << "(0);\n";
Copy link
Contributor

Choose a reason for hiding this comment

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

I recommend an assert that the pushConstants has one value with the one name we expect. Otherwise, things/assumptions have changed and this part of the code should fail loudly. Also, it makes the hack here more obvious (in addition to your comment).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

i dont get this, what should we assert?

Copy link
Contributor

Choose a reason for hiding this comment

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

We are assuming that the pushConstants are just the one that we should hardcode to 0. We should probably assert that it is indeed just the one we are expecting to get. That assumption could change (in the future maybe multiple push constants are requested...).

@jc3265 jc3265 force-pushed the jc/supportSkinning branch 2 times, most recently from 930fbc1 to 7380706 Compare August 23, 2025 00:40
@jc3265 jc3265 force-pushed the jc/supportSkinning branch from 7380706 to e5c9002 Compare August 24, 2025 02:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal Issue/PR does not affect clients
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants