Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • mesa mesa
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3,045
    • Issues 3,045
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 989
    • Merge requests 989
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • MesaMesa
  • mesamesa
  • Merge requests
  • !13299

ac/nir/cull: Accept NaN and +/- Inf in face culling.

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Timur Kristóf requested to merge Venemo/mesa:radv-nggc-re2 into main Oct 11, 2021
  • Overview 5
  • Commits 1
  • Pipelines 7
  • Changes 1

When the determinant that we use for calculating triangle area is NaN, it's not possible to determine the facing of the triangle.

This can happen when a coordinate of one of the triangle's vertices is INFINITY. It's better to just accept these triangles in the shader and let the PA deal with them.

Let's do the same for +/- Inf (though we haven't encountered that yet).

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: radv-nggc-re2