diff options
author | 2022-03-09 22:50:09 +0000 | |
---|---|---|
committer | 2022-03-15 21:52:33 +0000 | |
commit | 320ef3aea1c28c20ea83395b38acc904af97fbee (patch) | |
tree | 8524b61cc0124652f4d8e8c4930caa6cbff46d1e | |
parent | e8361aefe96e06097534bb276c08fbc6e9c0fdfe (diff) |
Revert "Advertise support for BT709 in the WSI"
This reverts commit 737b5b495f7b65787bd676187dd9cca178386498.
Reason for revert: needs to land in aosp
Change-Id: I65d740d29096ff6724ed0eff5d9fb83112be6de5
Merged-In: I9ad64d7d8b21cd68c071dc90f7d032671096b0da
-rw-r--r-- | vulkan/libvulkan/swapchain.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/vulkan/libvulkan/swapchain.cpp b/vulkan/libvulkan/swapchain.cpp index 5fdee217ab..f42c4f026b 100644 --- a/vulkan/libvulkan/swapchain.cpp +++ b/vulkan/libvulkan/swapchain.cpp @@ -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{ |