[PATCH v2 2/8] wined3d: Add support for WINED3DFMT_R8G8B8A8_UINT textures.

Henri Verbeet hverbeet at gmail.com
Mon Jan 25 06:55:03 CST 2016


On 25 January 2016 at 10:57, Józef Kucia <jkucia at codeweavers.com> wrote:
> +    {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},
Actually, you can't use GL_UNSIGNED_INT_8_8_8_8_REV with integer
formats unless you also have ARB_texture_rgb10_a2ui. (Although usually
you do.)

The corresponding test is also still failing for me, although in a
different way. It works when replacing GL_UNSIGNED_INT_8_8_8_8_REV
with either GL_UNSIGNED_INT_8_8_8_8 or GL_UNSIGNED_BYTE, which seems
to hint at a driver issue. I'm looking into that.



More information about the wine-devel mailing list