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

APPLE: Move ResolveCullMode to geometry shader and remove accessors. #2433

Merged

Conversation

creijon
Copy link
Contributor

@creijon creijon commented May 11, 2023

Description of Change(s)

The _ResolveCullMode method in hdSt/renderPassState.cpp requires a number of accessors on the HdSt_GeometricShader, specifically:

  • GetCullStyle
  • GetUseHardwareFaceCulling
  • GetHasMirroredTransform
  • GetDoubleSided

It seems to make more sense to move this function into the geometric shader and remove these accessors entirely.

Fixes Issue(s)

  • General cleanup
  • I have verified that all unit tests pass with the proposed changes
  • I have submitted a signed Contributor License Agreement

@tallytalwar
Copy link
Contributor

Filed as internal issue #USD-8317

@creijon creijon force-pushed the jon/dev/geometry_shader_cullstate branch from d0ba8e4 to 996ce58 Compare May 13, 2023 05:43
@pixar-oss pixar-oss merged commit ce92883 into PixarAnimationStudios:dev May 19, 2023
@creijon creijon deleted the jon/dev/geometry_shader_cullstate branch May 21, 2023 15:39
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