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

vulkan/wsi/wayland: Set num_modifier_lists = 0 if num_drm_modifiers == 0

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Michel Dänzer requested to merge daenzer/mesa:wsi-wayland-num_modifier_lists-0 into main Nov 17, 2022
  • Overview 6
  • Commits 1
  • Pipelines 6
  • Changes 1

This case was missed in !18826 (merged) , resulting in native Wayland apps failing with

../src/vulkan/wsi/wsi_common_drm.c:452: wsi_configure_native_image: Assertion `!"Failed to find a supported modifier! This should never " "happen because LINEAR should always be available"' failed.

if the Wayland compositor advertises only the INVALID modifier.

Fixes: c315e20d ("vulkan/wsi/wayland: Configure images via params passed to wsi_swapchain_init()")

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: wsi-wayland-num_modifier_lists-0