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

Draft: panvk: Add support for indirect draws and fix indexed draws

  • Review changes

  • Download
  • Patches
  • Plain diff
Closed Boris Brezillon requested to merge bbrezillon/mesa:panvk-indirect-draws into main Mar 30, 2022
  • Overview 5
  • Commits 9
  • Pipelines 6
  • Changes 9

This MR contains a bunch of fixes to pan_indirect_draw.c and is using this infrastructure to support indirect draws in panvk.

Note that indexed draws are now implemented as indirect draws to let the GPU retrieve the vertex range and get rid of the WARNING: Crawling index buffers from the CPU isn't valid in Vulkan warning.

Marked WIP because I still need to make sure my changes don't regress stuff in the GL driver...

/cc @jekstrand since you worked on panvk's indexed draw logic recently ;-)

Edited Mar 30, 2022 by Boris Brezillon
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: panvk-indirect-draws