[PATCH 3/7] wined3d: Add remaining sRGB formats.

Henri Verbeet hverbeet at gmail.com
Wed Feb 10 08:38:56 CST 2016


On 10 February 2016 at 02:14, Józef Kucia <jkucia at codeweavers.com> wrote:
> diff --git a/include/wine/wined3d.h b/include/wine/wined3d.h
> index df95da9..f314af3 100644
> --- a/include/wine/wined3d.h
> +++ b/include/wine/wined3d.h
> @@ -214,6 +214,13 @@ enum wined3d_format_id
>      WINED3DFMT_B5G5R5A1_UNORM,
>      WINED3DFMT_B8G8R8A8_UNORM,
>      WINED3DFMT_B8G8R8X8_UNORM,
> +    WINED3DFMT_B8G8R8A8_TYPELESS,
> +    WINED3DFMT_B8G8R8A8_UNORM_SRGB,
> +    WINED3DFMT_B8G8R8X8_TYPELESS,
> +    WINED3DFMT_B8G8R8X8_UNORM_SRGB,
> +    WINED3DFMT_BC7_TYPELESS,
> +    WINED3DFMT_BC7_UNORM,
> +    WINED3DFMT_BC7_UNORM_SRGB,
Not an issue with this patch per se, but note that these aren't
actually usable by anything until you update the conversion functions
in dxgi and d3d11. (And I notice debug_dxgi_format() is missing a few
formats as well.)



More information about the wine-devel mailing list