On 06/23/2016 09:00 AM, Henri Verbeet wrote:
On 22 June 2016 at 12:31, Miklós Máté mtmkls@gmail.com wrote:
The v2 I sent to the list fixes the test, but I'm fairly sure that the critical section is wrong. I tried to run the d3d11 test to see if it better exercises multithreading, but it skipped all tests ("None of the requested D3D feature levels is supported on this GPU with the current shader backend." even though Mesa 11.2 supports GL 4.1 core profile on my hw).
You'll need to set "MaxVersionGL" to 0x00030002 to enable wined3d core profile support. The d3d11 tests mostly pass with core profiles, but test_draw_depth_only() for example fails. Alternatively, you can hack the "shader_model" value in shader_glsl_get_caps(). The d3d11 tests don't do much for multithreading however. The "CSMT" patch set (https://github.com/stefand/wine/tree/master) is much better for that, and unfortunately still fails with the latest version of the patch. That patch set is not currently part of proper Wine, but I can send you a version rebased onto either 1.9.12 or current git if you're interested.
Hi,
I couldn't reproduce that test failure. I cloned Stefan's repository (master branch), applied my glx 1.3 patches that are in 1.9.12, and v2 of this patch, and I set the registry keys for CSMT (csmt=enabled, strictdrawordering=disabled). The d3d9 tests all pass. Did I miss something? Is there a way to tell if CSMT is in use?
MM