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

Autodesk: Feature hgi vulkan unit test #2851

Conversation

erikaharrison-adsk
Copy link
Contributor

Description of Change(s)

This PR provides a functioning unit test to test pipeline creation and draw command execution of Hgi.
For this test, a hgi backend of HgiVulkan is selected. The generated output is compared to a baseline image.

Fixes Issue(s)

  • N/A
  • I have verified that all unit tests pass with the proposed changes
  • I have submitted a signed Contributor License Agreement

(cherry picked from commit 8302b97cafa6de6d43e2dad12efe4717ade4f327)
…ugin

(cherry picked from commit c0fa5e90e4f22aa08d441a10b8fd5c4798be3598)
@jesschimein
Copy link
Collaborator

Filed as internal issue #USD-9059

@@ -41,7 +41,7 @@ class HdStormRendererPlugin final : public HdRendererPlugin {
virtual void DeleteRenderDelegate(HdRenderDelegate *renderDelegate)
override;

virtual bool IsSupported(bool gpuEnabled = true) const override;
virtual bool IsSupported(bool gpuEnabled = true, TfToken token = TfToken("")) const override;
Copy link
Contributor

Choose a reason for hiding this comment

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

I believe this change is supposed to be in PR #2850.

Copy link
Contributor

Choose a reason for hiding this comment

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

This bit is needed for successful runtime checking of HgiVulkan support. The default for the platform remains to be OpenGL (if no Vulkan token is passed). Otherwise the Vulkan backend get initialized.

@clach clach merged commit ab7c953 into PixarAnimationStudios:feature-hgi-vulkan Jan 29, 2024
1 of 5 checks passed
pixar-oss pushed a commit that referenced this pull request Jun 11, 2024
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.

4 participants