Skip to content

Conversation

@erikaharrison-adsk
Copy link
Contributor

Description of Change(s)

  • Add logic to change the technique used when creating the glslfx shader to include or exclude deep selection code. Before the change, the RenderDeepPicks was always executed since the PickBuffer binding was always included in the shader through the glslfx layout.
  • Add logic to clean up the pick buffer when deep selection is disabled.
  • Add the technique attribute to the hash computation of a HioGlslfx object.
  • Change the pxr/imaging/hdx/shaders/renderPassPickingShader.glslfx file to define a withDeepSelect and a noDeepSelect technique,

Link to proposal (if applicable)

  • N/A

Fixes Issue(s)

  • N/A

Checklist

- Add logic to change the technique used when creating the glslfx
  shader to include or exclude deep selection code. Before the change,
  the `RenderDeepPicks` was always executed since the PickBuffer binding
  was always included in the shader through the glslfx layout.

- Add logic to clean up the pick buffer when deep selection is disabled.

- Add the `technique` attribute to the hash computation of a HioGlslfx object.

- Change the pxr/imaging/hdx/shaders/renderPassPickingShader.glslfx file
to define a `withDeepSelect` and a `noDeepSelect` technique,
@jesschimein
Copy link
Collaborator

Filed as internal issue #USD-11699

(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