[PATCH 5/5] d3d11/tests: Test creation of typeless resources.

Józef Kucia joseph.kucia at gmail.com
Tue Feb 9 07:10:08 CST 2016


On Tue, Feb 9, 2016 at 2:03 PM, Henri Verbeet <hverbeet at gmail.com> wrote:
> On 9 February 2016 at 11:24, Józef Kucia <jkucia at codeweavers.com> wrote:
>> +    enum resource_type
>> +    {
>> +        rt_texture_2d,
>> +        rt_texture_3d,
>> +    };
>> +
>> +    static const struct
>> +    {
>> +        DXGI_FORMAT format;
>> +        D3D11_BIND_FLAG bind_flags;
>> +        enum resource_type type;
> Why not D3D11_RESOURCE_DIMENSION?

D3D11 defines are so long and they tend to make test tables too wide,
but yeah, I should use D3D11_RESOURCE_DIMENSION.



More information about the wine-devel mailing list