[PATCH v2 0/5] MR255: d3d11: Fix reporting of some format caps.

Jan Sikorski (@jsikorski) wine at gitlab.winehq.org
Thu Jun 23 03:45:28 CDT 2022


Jan Sikorski (@jsikorski) commented about dlls/wined3d/directx.c:
>  
>      for (; gl_type <= gl_type_end; ++gl_type)
>      {
> +        unsigned int caps = format->caps[gl_type];
> +
> +        if (gl_type == WINED3D_GL_RES_TYPE_TEX_2D && !(bind_flags & WINED3D_BIND_SHADER_RESOURCE))
> +            caps |= format->caps[WINED3D_GL_RES_TYPE_RB];
Shouldn't we use this 'caps' below?

-- 
https://gitlab.winehq.org/wine/wine/-/merge_requests/255#note_2531



More information about the wine-devel mailing list