Henri Verbeet : wined3d: Add Vulkan format information for WINED3DFMT_R9G9B9E5_SHAREDEXP.

Alexandre Julliard julliard at winehq.org
Tue Apr 28 16:32:20 CDT 2020


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

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Tue Apr 28 02:46:26 2020 +0430

wined3d: Add Vulkan format information for WINED3DFMT_R9G9B9E5_SHAREDEXP.

Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

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

diff --git a/dlls/wined3d/utils.c b/dlls/wined3d/utils.c
index 06857f2284..12e8ed2c71 100644
--- a/dlls/wined3d/utils.c
+++ b/dlls/wined3d/utils.c
@@ -4199,6 +4199,7 @@ static void init_vulkan_format_info(struct wined3d_format_vk *format,
         {WINED3DFMT_BC6H_SF16,             VK_FORMAT_BC6H_SFLOAT_BLOCK,       },
         {WINED3DFMT_BC7_UNORM,             VK_FORMAT_BC7_UNORM_BLOCK,         },
         {WINED3DFMT_BC7_UNORM_SRGB,        VK_FORMAT_BC7_SRGB_BLOCK,          },
+        {WINED3DFMT_R9G9B9E5_SHAREDEXP,    VK_FORMAT_E5B9G9R9_UFLOAT_PACK32,  },
     };
     VkFormat vk_format = VK_FORMAT_UNDEFINED;
     VkImageFormatProperties image_properties;




More information about the wine-cvs mailing list