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

Vulkan: Clip clamped depth in geometry shader #16165

Merged
merged 4 commits into from
Oct 6, 2022

Commits on Oct 6, 2022

  1. Vulkan: Clip clamped depth in geometry shader.

    This corrects deformed geometry on Mali devices which don't support
    user-space clipping but do support depth clamp.
    unknownbrackets committed Oct 6, 2022
    Configuration menu
    Copy the full SHA
    3e5c09d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8663541 View commit details
    Browse the repository at this point in the history
  3. Vulkan: Correct clamped Z clip when clipping neg Z.

    In the geometry shader, if used, we need to output the clip distance from
    the clamped Z clip or it gets lost.
    unknownbrackets committed Oct 6, 2022
    Configuration menu
    Copy the full SHA
    14bf9d1 View commit details
    Browse the repository at this point in the history
  4. GPU: Optimize clip distances needed.

    We only need to write one clip distance to clip clamped depth, since we
    don't clamp when it needs clipping on both sides.
    unknownbrackets committed Oct 6, 2022
    Configuration menu
    Copy the full SHA
    bc3d3cf View commit details
    Browse the repository at this point in the history