[PATCH 4/6] wined3d: Disable YUV formats when fixups are not supported.

Stefan Dösinger stefandoesinger at gmail.com
Mon May 8 03:25:36 CDT 2017


> Am 07.05.2017 um 20:32 schrieb Matteo Bruni <mbruni at codeweavers.com>:
> 
> +        switch (format->id)
> +        {
> +            case WINED3DFMT_YUY2:
> +            case WINED3DFMT_UYVY:
> +            case WINED3DFMT_YV12:
> +            case WINED3DFMT_NV12:
> +                TRACE("%s\n", gl_info->supported[ARB_FRAGMENT_PROGRAM]
> +                        ? "[OK]" : "[FAILED] - No YUV fixups support.");
> +                return gl_info->supported[ARB_FRAGMENT_PROGRAM];
Once upon a time blitting YUY2 and UYVY via regular 3D draws worked with GL_APPLE_ycbcr_422, and afaics the necessary format definitions are still in place.




More information about the wine-devel mailing list