Skip to content

Conversation

@erikaharrison-adsk
Copy link
Contributor

@erikaharrison-adsk erikaharrison-adsk commented Dec 9, 2025

Description of Change(s)

The main issue is that the IsSupported() call checks the default Hgi, which isn't necessarily what one is trying to use. If the default isn't supported, then you can't create a render delegate even if a non-default is supported. We've encountered an issue (Windows laptop) where HgiGL fails to create due to an OpenGL version problem, but HgiVulkan works. It should be possible to use HgiVulkan (non-default) even when HgiGL (default) doesn't work. This solution addresses this issue.

Note: You can set HGI_ENABLE_VULKAN to change the defaults, but that's not always an option, and isn't a proper solution as the environment variables are for development, not production.

Example use case: https://github.com/Autodesk/hydra-viewport-toolbox/blob/a24d055fcf0d146249afb7e6a693fd5763355ca0/source/engine/renderIndexProxy.cpp#L49-L56

Link to proposal (if applicable)

  • N/A

Fixes Issue(s)

  • N/A

Checklist

@jesschimein
Copy link
Collaborator

Filed as internal issue #USD-11704

(This is an automated message. See here for more information.)

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