Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • mesa mesa
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 3.2k
    • Issues 3.2k
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1k
    • Merge requests 1k
  • 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
  • !3082

gallium/gallivm/tgsi: enable tessellation shaders

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Jan Zielinski requested to merge jzielins/mesa:swr-tess-tgsi-changes into master Dec 13, 2019
  • Overview 5
  • Commits 1
  • Pipelines 4
  • Changes 3

Tessellation Control and Evaluation shaders are implementing tessellation and require special handling of their inputs and outputs.

TCS can write out not only per-vertex, but also per-patch (per-primitive) attributes and tessellation factor values that control the tessellator.

TES can read TCS outputs, plus must be feeded with new system values (tessellation coordinates) that are outputs of the tessellator fixed function.

TCS can also contain calls to barrier() function (similar to compute shaders).

Code handling emitting stores is slightly refactored to make it more modular.

There are no regressions in testing. Changes in SWR enabling tessellation will follow in separate patches.

I realize this one is quite big, but I believe it's best to submit it as a single patch to make it easier to follow the idea.

Edited Dec 13, 2019 by Jan Zielinski
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: swr-tess-tgsi-changes