Skip to content
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

usdValidation: usdShade: ShaderValidator #3447

Conversation

beersandrew
Copy link
Contributor

Description of Change(s)

  • Added equivalent validation checks from ARShaderChecker in the new ValidationFramework, including validation implementation code, test code, tokens, and an entry in plugInfo.json

Link to proposal (if applicable)

Fixes Issue(s)

Note: This PR is a replacement for #3398

Checklist

[X] I have created this PR based on the dev branch

[X] I have followed the coding conventions

[X] I have added unit tests that exercise this functionality (Reference:
testing guidelines)

[X] I have verified that all unit tests pass with the proposed changes

[X] I have submitted a signed Contributor License Agreement (Reference:
Contributor License Agreement instructions)

Added equivalent validation checks from ARShaderChecker in the new ValidationFramework, including validation implementation code, test code, tokens, and an entry in plugInfo.json
@jesschimein
Copy link
Collaborator

Filed as internal issue #USD-10490

@jesschimein
Copy link
Collaborator

/AzurePipelines run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Contributor

@tallytalwar tallytalwar left a comment

Choose a reason for hiding this comment

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

Hmm apologies @beersandrew but I think this also seems to be in the domain of validators which shouldn't be part of openUSD. There is nothing stopping a usdz package to have shaders with shaderId outside what has been mentioned here.

Also a shader having multiple connections is also a total valid usd (within a usdz package also) as per the UsdShade specifications.

The logic seems to be specific to SceneKit I think (cc. @dgovil) and is not what a usdzPackage will not allow.

@beersandrew beersandrew deleted the validation-usdShade-shaderValidator branch January 24, 2025 22:47
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