wined3d: Add support for WINED3DFMT_R8_UINT format.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
ffd1fa550d
commit
40c42757f3
|
@ -249,6 +249,7 @@ static const struct wined3d_typed_format_info typed_formats[] =
|
|||
{WINED3DFMT_R16_FLOAT, WINED3DFMT_R16_TYPELESS, "F"},
|
||||
{WINED3DFMT_D16_UNORM, WINED3DFMT_R16_TYPELESS, "D"},
|
||||
{WINED3DFMT_R8_UNORM, WINED3DFMT_R8_TYPELESS, "u"},
|
||||
{WINED3DFMT_R8_UINT, WINED3DFMT_R8_TYPELESS, "U"},
|
||||
{WINED3DFMT_BC1_UNORM_SRGB, WINED3DFMT_BC1_TYPELESS, ""},
|
||||
{WINED3DFMT_BC1_UNORM, WINED3DFMT_BC1_TYPELESS, ""},
|
||||
{WINED3DFMT_BC2_UNORM_SRGB, WINED3DFMT_BC2_TYPELESS, ""},
|
||||
|
@ -1327,6 +1328,10 @@ static const struct wined3d_format_texture_info format_texture_info[] =
|
|||
GL_RED_INTEGER, GL_SHORT, 0,
|
||||
WINED3DFMT_FLAG_TEXTURE | WINED3DFMT_FLAG_RENDERTARGET,
|
||||
ARB_TEXTURE_RG, NULL},
|
||||
{WINED3DFMT_R8_UINT, GL_R8UI, GL_R8UI, 0,
|
||||
GL_RED_INTEGER, GL_UNSIGNED_BYTE, 0,
|
||||
WINED3DFMT_FLAG_TEXTURE | WINED3DFMT_FLAG_RENDERTARGET,
|
||||
ARB_TEXTURE_RG, NULL},
|
||||
/* Luminance */
|
||||
{WINED3DFMT_L8_UNORM, GL_LUMINANCE8, GL_SLUMINANCE8_EXT, 0,
|
||||
GL_LUMINANCE, GL_UNSIGNED_BYTE, 0,
|
||||
|
|
Loading…
Reference in New Issue