Skip to content

vulkan/wsi/x11: Ensure we create at least minImageCount images.

Bas Nieuwenhuizen requested to merge bnieuwenhuizen/mesa:min-image-count into master

Doom Eternal happily creates a swapchain with 2 images for IMMEDIATE...

This fixes a 10% performance issues with Doom Eternal for me.

Since the game only sets a minImageCount increasing till our own minimum is totally okay.

I thought about putting this behind a driconf flag but

  • The games keep working
  • The performance issues is relatively small.

So likely very few people will file bugs due to the resulting behavior. So not fixing it does not really give a reporting advantage to help pressure game devs ...

(Specifically for Doom Eternal I am working on reporting the issue)

Merge request reports