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

vulkan: Move all the common object code to runtime/

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Faith Ekstrand requested to merge gfxstrand/mesa:wip/vk-runtime-split into main Oct 01, 2021
  • Overview 12
  • Commits 10
  • Pipelines 12
  • Changes 55

The objective here is to split utility code from the common runtime code we've been building over the course of the last year and a half. The util code is not only used by drivers but also some of the layers we have in Mesa. None of those need vk_object and friends. The runtime code, on the other hand, is expected to be used to build drivers. That's got all the base objects and default implementations of Vulkan entrypoints.

Why should we care? Can't object-level dead code clean up the layers? Yes, it can. However, I want to start depending on NIR from the runtime code. We don't really want to pull that into all the layers.

It's still marked WIP because I've not yet pulled out the generators. I've got all the main C code moved over but python code depending on other python code across directories is... painful. I'm hoping @dbaker can help sort that out for me.

Closes: #5410 (closed)

Edited Oct 29, 2021 by Faith Ekstrand
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: wip/vk-runtime-split