PixarAnimationStudios / OpenUSD

Universal Scene Description
http://www.openusd.org
Other
6.13k stars 1.22k forks source link

HdxPickTaskContextParams::depthMaskCallback is OpenGL-only and will not work on Metal #1686

Open vlasovi opened 2 years ago

vlasovi commented 2 years ago

Description of Issue

Steps to Reproduce

  1. Go to HdxPickTask::_ConditionStencilWithGLCallback
  2. Observe that there are OpenGL calls used there, like 'glStencilFunc'
  3. Also, observe that the variable glGfxCmds is not passed to maskCallback for platform-independent drawing.

System Information (OS, Hardware)

Apple macOS

Package Versions

Latest dev

Build Flags

None

jilliene commented 2 years ago

Filed as internal issue #USD-7029