Skip to content
GitLab
Projects Groups 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
    • Contributors
    • Graph
    • Compare
  • Issues 3,069
    • Issues 3,069
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1,004
    • Merge requests 1,004
  • 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

Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.

  • MesaMesa
  • mesamesa
  • Merge requests
  • !10925

gallium drivers: stop exporting PIPE_CAP_PRIMITIVE_RESTART_FIXED_INDEX

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Mike Blumenkrantz requested to merge zmike/mesa:fix-primcap into main May 21, 2021
  • Overview 9
  • Commits 16
  • Pipelines 4
  • Changes 18

This pipe cap is for partial primitive restart support. According to the documentation:

  • PIPE_CAP_PRIMITIVE_RESTART_FIXED_INDEX: Subset of PRIMITIVE_RESTART where the restart index is always the fixed maximum value for the index type.

If your driver exports it, you should not currently be exporting PIPE_CAP_PRIMITIVE_RESTART, as they conflict. And even if you do export it, it does nothing because you're already exporting the superset cap.

The only driver in the entire tree which got this right is v3d.

Good job v3d.

Nope, v3d gets a special cone of shame for being the only driver to only export PIPE_CAP_PRIMITIVE_RESTART_FIXED_INDEX and then also handling non-fixed restart index.

Edited May 21, 2021 by Mike Blumenkrantz
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: fix-primcap