Matteo Bruni : d3d11: Report D3D11_FORMAT_SUPPORT_MIP in CheckFormatSupport().

Alexandre Julliard julliard at winehq.org
Fri Sep 11 14:51:44 CDT 2020


Module: wine
Branch: master
Commit: 5515458bc9cd2564eb8fe9d51bb1e7006e1e8ba1
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=5515458bc9cd2564eb8fe9d51bb1e7006e1e8ba1

Author: Matteo Bruni <mbruni at codeweavers.com>
Date:   Thu Sep 10 21:20:39 2020 +0200

d3d11: Report D3D11_FORMAT_SUPPORT_MIP in CheckFormatSupport().

Signed-off-by: Matteo Bruni <mbruni at codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/d3d11/device.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/d3d11/device.c b/dlls/d3d11/device.c
index 880c8b6595..0d38a2f194 100644
--- a/dlls/d3d11/device.c
+++ b/dlls/d3d11/device.c
@@ -3343,6 +3343,7 @@ static HRESULT STDMETHODCALLTYPE d3d11_device_CheckFormatSupport(ID3D11Device2 *
         {WINED3D_RTYPE_TEXTURE_2D, WINED3D_BIND_SHADER_RESOURCE, WINED3DUSAGE_LEGACY_CUBEMAP, D3D11_FORMAT_SUPPORT_TEXTURECUBE},
         {WINED3D_RTYPE_NONE,       WINED3D_BIND_RENDER_TARGET,   0, D3D11_FORMAT_SUPPORT_RENDER_TARGET},
         {WINED3D_RTYPE_NONE,       WINED3D_BIND_DEPTH_STENCIL,   0, D3D11_FORMAT_SUPPORT_DEPTH_STENCIL},
+        {WINED3D_RTYPE_TEXTURE_2D, WINED3D_BIND_SHADER_RESOURCE, WINED3DUSAGE_QUERY_WRAPANDMIP, D3D11_FORMAT_SUPPORT_MIP},
     };
     HRESULT hr;
 




More information about the wine-cvs mailing list