Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • V virglrenderer
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 90
    • Issues 90
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 39
    • Merge requests 39
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • virgl
  • virglrenderer
  • Merge requests
  • !672

shader: rely on the shader key for clip_dist in GS

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Gert Wollny requested to merge gerddie/virglrenderer:fix-gs-clipdist into master Jan 07, 2022
  • Overview 1
  • Commits 1
  • Pipelines 6
  • Changes 3

If we always emit the glip distance in GS we might end up having too many outputs, which will result in failures.

Hence, for GS only emit the clip distance evaluation code when the clip planes are enabled.

Fixes: 072f3095 shader: Always write code to toggle clip plane

Closes: #254 (closed)

@italove

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: fix-gs-clipdist