Used by Deus Ex: Human Revolution.
Signed-off-by: Andrey Gusev andrey.goosev@gmail.com --- dlls/dxgi/utils.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/dlls/dxgi/utils.c b/dlls/dxgi/utils.c index 35beaa4be1f..ee891e70b10 100644 --- a/dlls/dxgi/utils.c +++ b/dlls/dxgi/utils.c @@ -493,8 +493,10 @@ DXGI_USAGE dxgi_usage_from_wined3d_bind_flags(unsigned int wined3d_bind_flags) dxgi_usage |= DXGI_USAGE_SHADER_INPUT; if (wined3d_bind_flags & WINED3D_BIND_RENDER_TARGET) dxgi_usage |= DXGI_USAGE_RENDER_TARGET_OUTPUT; + if (wined3d_bind_flags & WINED3D_BIND_UNORDERED_ACCESS) + dxgi_usage |= DXGI_USAGE_UNORDERED_ACCESS;
- wined3d_bind_flags &= ~(WINED3D_BIND_SHADER_RESOURCE | WINED3D_BIND_RENDER_TARGET); + wined3d_bind_flags &= ~(WINED3D_BIND_SHADER_RESOURCE | WINED3D_BIND_RENDER_TARGET | WINED3D_BIND_UNORDERED_ACCESS); if (wined3d_bind_flags) FIXME("Unhandled wined3d bind flags %#x.\n", wined3d_bind_flags); return dxgi_usage;
Hi,
While running your changed tests, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check?
Full results can be found at: https://testbot.winehq.org/JobDetails.pl?Key=105226
Your paranoid android.
=== debian11 (32 bit Chinese:China report) ===
dxgi: dxgi.c:3354: Test failed: Got monitor rect (0,0)-(848,480), expected (0,0)-(1024,768). dxgi.c:3356: Test failed: Got monitor rect (0,0)-(848,480), expected (0,0)-(1024,768). dxgi.c:3369: Test failed: Got monitor rect (0,0)-(848,480), expected (0,0)-(1024,768).
=== debian11 (64 bit WoW report) ===
dxgi: dxgi.c:3354: Test failed: Got monitor rect (0,0)-(1280,768), expected (0,0)-(800,600). dxgi.c:3356: Test failed: Got monitor rect (0,0)-(1280,768), expected (0,0)-(800,600). dxgi.c:3369: Test failed: Got monitor rect (0,0)-(1280,768), expected (0,0)-(800,600).