Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • M Monado
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 69
    • Issues 69
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 39
    • Merge requests 39
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & 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
  • Monado
  • Monado
  • Merge requests
  • !1365

quad layer rendering in compute shader

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Christoph Haag requested to merge haagch/monado:squash_layers into main Jun 01, 2022
  • Overview 17
  • Commits 6
  • Pipelines 1
  • Changes 11

I think this is now far enough along to put up a MR.

This implementation is slightly wasteful in that COMP_MAX_LAYERS * COMP_IMAGES_PER_LAYERS descriptors are being bound every frame. We could look into descriptorBindingPartiallyBound or use shader specialization to generate different shader variants for each number of layer or even for every combination of layers. But that felt like premature optimization.

Currently this fails the alpha blend composition test, the other tests should be fine.

Another problem that I know of is that with distortions other than "none" quad layers are slightly displaced. I have commented in the shader about how I think the rendering with the distorted rgb_uv works but I might have missed something.

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: squash_layers