[Bug 42379] New: Sleeping Dogs needs d3d11: wined3d_usage_from_d3d11 bind flags 0x80.
wine-bugs at winehq.org
wine-bugs at winehq.org
Sat Feb 4 14:49:57 CST 2017
https://bugs.winehq.org/show_bug.cgi?id=42379
Bug ID: 42379
Summary: Sleeping Dogs needs d3d11:wined3d_usage_from_d3d11
bind flags 0x80.
Product: Wine
Version: 2.0
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: enhancement
Priority: P2
Component: directx-d3dx11
Assignee: wine-bugs at winehq.org
Reporter: winetest at luukku.com
Distribution: ---
I just tried to run Sleeping dogs with wine-staging 2.0 and I got bored of
waiting it to load with white screen. I don't know if it would eventually. But
the console is spamming some messages alot, this is one of them. I have no idea
what it means.
This code needs some enchanment.
400 DWORD wined3d_usage_from_d3d11(UINT bind_flags, enum D3D11_USAGE usage)
401 {
402 static const DWORD handled = D3D11_BIND_SHADER_RESOURCE
403 | D3D11_BIND_RENDER_TARGET
404 | D3D11_BIND_DEPTH_STENCIL;
405 DWORD wined3d_usage = 0;
406
407 if (bind_flags & D3D11_BIND_SHADER_RESOURCE)
408 wined3d_usage |= WINED3DUSAGE_TEXTURE;
409 if (bind_flags & D3D11_BIND_RENDER_TARGET)
410 wined3d_usage |= WINED3DUSAGE_RENDERTARGET;
411 if (bind_flags & D3D11_BIND_DEPTH_STENCIL)
412 wined3d_usage |= WINED3DUSAGE_DEPTHSTENCIL;
413 if (bind_flags & ~handled)
414 FIXME("Unhandled bind flags %#x.\n", bind_flags & ~handled);
415
This doesnt look really fatal message so I am just setting severity to
enchament.
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
More information about the wine-bugs
mailing list