Skip to content
  • Mike Blumenkrantz's avatar
    zink: fix max acquired image count · 51e8278b
    Mike Blumenkrantz authored and Dylan Baker's avatar Dylan Baker committed
    according to spec, the maximum number of acquired images can be calculated with
    
    swapchain_size - VkSurfaceCapabilitiesKHR::minImageCount + 1
    
    the previous calculation was both wrong and occurring in the wrong place,
    so this corrects both issues
    
    cc: mesa-stable
    
    Part-of: <!21095>
    (cherry picked from commit 89cf0a3b)
    51e8278b