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
  • !21331

pvr: New driver-compiler descriptor set approach

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Karmjit Mahil requested to merge CreativeCylon/mesa:dev/New-driver-compiler-descriptor-set-approach into main Feb 15, 2023
  • Overview 4
  • Commits 13
  • Pipelines 5
  • Changes 33

This is a step towards flushing out the driver-compiler interface.

  • The allocation of shared regs is now done by the driver and an info struct with their layout is passed to the compiler.
  • The compiler now uses the descriptors setup by the driver to access resources from memory.

To simplify and get things working quicker we decided to access all resources directly from main memory, as well as the descriptor set itself. Not great for performance but it should get more things working quicker since we avoid needing to add a whole lot of code (e.g. adding support for indexing a buffer resource from the shared regs, the compiler inspecting shaders to determine the size of the UBOs since that info is not passed to the driver directly, etc.) before getting anything else working.

\cc @simon-perretta-img

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: dev/New-driver-compiler-descriptor-set-approach