Zebediah Figura : wined3d: Add Vulkan format information for WINED3DFMT_B5G6R5_UNORM.

Alexandre Julliard julliard at winehq.org
Fri Jun 24 15:45:27 CDT 2022


Module: wine
Branch: master
Commit: 14028eaff0f6c5334541aef6e3fc29558a4535c0
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=14028eaff0f6c5334541aef6e3fc29558a4535c0

Author: Zebediah Figura <zfigura at codeweavers.com>
Date:   Wed Jun 15 15:16:36 2022 -0500

wined3d: Add Vulkan format information for WINED3DFMT_B5G6R5_UNORM.

---

 dlls/wined3d/utils.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/wined3d/utils.c b/dlls/wined3d/utils.c
index 381c1ae7bc6..7761576c058 100644
--- a/dlls/wined3d/utils.c
+++ b/dlls/wined3d/utils.c
@@ -4300,6 +4300,7 @@ static void init_vulkan_format_info(struct wined3d_format_vk *format,
         {WINED3DFMT_B8G8R8A8_UNORM_SRGB,        VK_FORMAT_B8G8R8A8_SRGB,           },
         {WINED3DFMT_B8G8R8X8_UNORM,             VK_FORMAT_B8G8R8A8_UNORM,          "XYZ1"},
         {WINED3DFMT_B8G8R8X8_UNORM_SRGB,        VK_FORMAT_B8G8R8A8_SRGB,           "XYZ1"},
+        {WINED3DFMT_B5G6R5_UNORM,               VK_FORMAT_R5G6B5_UNORM_PACK16,     },
         {WINED3DFMT_BC1_UNORM,                  VK_FORMAT_BC1_RGBA_UNORM_BLOCK,    },
         {WINED3DFMT_BC1_UNORM_SRGB,             VK_FORMAT_BC1_RGBA_SRGB_BLOCK,     },
         {WINED3DFMT_BC2_UNORM,                  VK_FORMAT_BC2_UNORM_BLOCK,         },




More information about the wine-cvs mailing list