Henri Verbeet : wined3d: Add format class information for WINED3DFMT_R8G8B8A8_SNORM.

Alexandre Julliard julliard at winehq.org
Wed Nov 15 16:46:01 CST 2017


Module: wine
Branch: master
Commit: f695a7c3f90fec67d93498c5b6874a839c2125a9
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=f695a7c3f90fec67d93498c5b6874a839c2125a9

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Thu Nov 16 01:01:06 2017 +0330

wined3d: Add format class information for WINED3DFMT_R8G8B8A8_SNORM.

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 0e00203..5eda92a 100644
--- a/dlls/wined3d/utils.c
+++ b/dlls/wined3d/utils.c
@@ -232,6 +232,7 @@ static const struct wined3d_typed_format_info typed_formats[] =
     {WINED3DFMT_R10G10B10A2_UNORM,        WINED3DFMT_R10G10B10A2_TYPELESS,  "uuuu"},
     {WINED3DFMT_R8G8B8A8_UINT,            WINED3DFMT_R8G8B8A8_TYPELESS,     "UUUU"},
     {WINED3DFMT_R8G8B8A8_SINT,            WINED3DFMT_R8G8B8A8_TYPELESS,     "IIII"},
+    {WINED3DFMT_R8G8B8A8_SNORM,           WINED3DFMT_R8G8B8A8_TYPELESS,     "iiii"},
     {WINED3DFMT_R8G8B8A8_UNORM_SRGB,      WINED3DFMT_R8G8B8A8_TYPELESS,     "uuuu"},
     {WINED3DFMT_R8G8B8A8_UNORM,           WINED3DFMT_R8G8B8A8_TYPELESS,     "uuuu"},
     {WINED3DFMT_R16G16_UNORM,             WINED3DFMT_R16G16_TYPELESS,       "uu"},




More information about the wine-cvs mailing list