[PATCH 3/7] wined3d: Add support for WINED3DFMT_R8G8B8A8_UINT textures.
Józef Kucia
jkucia at codeweavers.com
Thu Jan 21 18:11:36 CST 2016
Signed-off-by: Józef Kucia <jkucia at codeweavers.com>
---
dlls/wined3d/utils.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/dlls/wined3d/utils.c b/dlls/wined3d/utils.c
index f06affd..1a1a137 100644
--- a/dlls/wined3d/utils.c
+++ b/dlls/wined3d/utils.c
@@ -1087,6 +1087,10 @@ static const struct wined3d_format_texture_info format_texture_info[] =
| WINED3DFMT_FLAG_RENDERTARGET | WINED3DFMT_FLAG_SRGB_READ | WINED3DFMT_FLAG_SRGB_WRITE
| WINED3DFMT_FLAG_VTF,
WINED3D_GL_EXT_NONE, NULL},
+ {WINED3DFMT_R8G8B8A8_UINT, GL_RGBA8UI_EXT, GL_RGBA8UI_EXT, 0,
+ GL_RGBA_INTEGER_EXT, GL_UNSIGNED_INT_8_8_8_8_REV, 0,
+ WINED3DFMT_FLAG_TEXTURE,
+ EXT_TEXTURE_INTEGER, NULL},
{WINED3DFMT_R8G8B8X8_UNORM, GL_RGB8, GL_RGB8, 0,
GL_RGBA, GL_UNSIGNED_INT_8_8_8_8_REV, 0,
WINED3DFMT_FLAG_TEXTURE | WINED3DFMT_FLAG_POSTPIXELSHADER_BLENDING | WINED3DFMT_FLAG_FILTERING,
--
2.4.10
More information about the wine-patches
mailing list