=?UTF-8?Q?J=C3=B3zef=20Kucia=20?=: wined3d: Add support for WINED3DFMT_R16G16B16A16_UINT format.
Alexandre Julliard
julliard at winehq.org
Thu Nov 10 14:37:54 CST 2016
Module: wine
Branch: master
Commit: c3b9811a802a01128c0835d33cec6be722dad325
URL: http://source.winehq.org/git/wine.git/?a=commit;h=c3b9811a802a01128c0835d33cec6be722dad325
Author: Józef Kucia <jkucia at codeweavers.com>
Date: Thu Nov 10 12:39:15 2016 +0100
wined3d: Add support for WINED3DFMT_R16G16B16A16_UINT format.
Signed-off-by: Józef Kucia <jkucia at codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/wined3d/utils.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/dlls/wined3d/utils.c b/dlls/wined3d/utils.c
index d59f86f..dd75035 100644
--- a/dlls/wined3d/utils.c
+++ b/dlls/wined3d/utils.c
@@ -1318,6 +1318,10 @@ static const struct wined3d_format_texture_info format_texture_info[] =
GL_RG_INTEGER, GL_BYTE, 0,
WINED3DFMT_FLAG_TEXTURE | WINED3DFMT_FLAG_RENDERTARGET,
ARB_TEXTURE_RG, NULL},
+ {WINED3DFMT_R16G16B16A16_UINT, GL_RGBA16UI, GL_RGBA16UI, 0,
+ GL_RGBA_INTEGER, GL_UNSIGNED_SHORT, 0,
+ WINED3DFMT_FLAG_TEXTURE | WINED3DFMT_FLAG_RENDERTARGET,
+ EXT_TEXTURE_INTEGER, NULL},
{WINED3DFMT_R32G32_UINT, GL_RG32UI, GL_RG32UI, 0,
GL_RG_INTEGER, GL_UNSIGNED_INT, 0,
WINED3DFMT_FLAG_TEXTURE | WINED3DFMT_FLAG_RENDERTARGET,
More information about the wine-cvs
mailing list