Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 140bbb3a authored by Trevor Black's avatar Trevor Black Committed by Android (Google) Code Review
Browse files

Merge "Revert "Advertise support for BT709 in the WSI"" into tm-dev

parents be204679 320ef3ae
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -760,8 +760,7 @@ VkResult GetPhysicalDeviceSurfaceFormatsKHR(VkPhysicalDevice pdev,
    // We must support R8G8B8A8
    std::vector<VkSurfaceFormatKHR> all_formats = {
        {VK_FORMAT_R8G8B8A8_UNORM, VK_COLOR_SPACE_SRGB_NONLINEAR_KHR},
        {VK_FORMAT_R8G8B8A8_SRGB, VK_COLOR_SPACE_SRGB_NONLINEAR_KHR},
        {VK_FORMAT_R8G8B8A8_UNORM, VK_COLOR_SPACE_BT709_LINEAR_EXT}};
        {VK_FORMAT_R8G8B8A8_SRGB, VK_COLOR_SPACE_SRGB_NONLINEAR_KHR}};

    if (wide_color_support) {
        all_formats.emplace_back(VkSurfaceFormatKHR{