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

Commit fa32f893 authored by Yuxin Hu's avatar Yuxin Hu Committed by Android (Google) Code Review
Browse files

Merge "Add VK_COLOR_SPACE_DISPLAY_P3_NONLINEAR_EXT to FP16 surface" into main

parents 3de7998a d3ff5213
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -786,6 +786,9 @@ VkResult GetPhysicalDeviceSurfaceFormatsKHR(VkPhysicalDevice pdev,
            all_formats.emplace_back(
                VkSurfaceFormatKHR{VK_FORMAT_R16G16B16A16_SFLOAT,
                                   VK_COLOR_SPACE_EXTENDED_SRGB_NONLINEAR_EXT});
            all_formats.emplace_back(
                VkSurfaceFormatKHR{VK_FORMAT_R16G16B16A16_SFLOAT,
                                   VK_COLOR_SPACE_DISPLAY_P3_NONLINEAR_EXT});
        }
    }