Skip to content

vulkan/swapchain: prefer VK_COLOR_SPACE_PASS_THROUGH_EXT

If neither primaries nor transfer matches any of the colorspace, before this change it would select first one on the list with best score.

Give small score increase for pass through colorspace which are better choice, especially when we are setting metadata.

Fixes the case where for bt.2020/pq request, sRGB colorspace were selected instead of pass through one. Because both of them had the same score and sRGB was earlier in the array.

Merge request reports

Loading