[PATCH] wined3d: Support D3DFMT_L8 format as render target when supported by GPU.

Matteo Bruni matteo.mystral at gmail.com
Wed Mar 23 15:46:44 CDT 2016


2016-03-23 16:27 GMT+01:00 Henri Verbeet <hverbeet at gmail.com>:
> On 23 March 2016 at 16:21, Paul Gofman <gofmanp at gmail.com> wrote:
>> So I will try to find out what else can make it happy for now. If
>> nothing really, then I will wait for Matteo's patch to test enabling
>> WINED3DFMT_FLAG_RENDERTARGET for WINED3DFMT_L8_UNORM at that point.
> If you want something to test with, the patch in question is at
> https://source.winehq.org/patches/data/120300. You'll have to change
> the order so that the ARB_TEXTURE_RG variant is preferred over the
> WINED3D_GL_LEGACY_FORMATS one.

I resent the patch (the new one is 120556), I left it mostly unchanged
so you still need to reorder the table entries and enable the color
fixups accordingly if you want to use the ARB_texture_rg variants on
legacy contexts.



More information about the wine-devel mailing list