[PATCH 2/4] d3d10core/tests: Don't run the 32-bit tests multithreaded.

Zebediah Figura zfigura at codeweavers.com
Thu Feb 3 13:17:30 CST 2022


This works fine currently, but won't once we start suballocating GL buffers.

Signed-off-by: Zebediah Figura <zfigura at codeweavers.com>
---
 dlls/d3d10core/tests/d3d10core.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/dlls/d3d10core/tests/d3d10core.c b/dlls/d3d10core/tests/d3d10core.c
index e2a4be67d66..0fcaf041187 100644
--- a/dlls/d3d10core/tests/d3d10core.c
+++ b/dlls/d3d10core/tests/d3d10core.c
@@ -129,7 +129,9 @@ static void run_queued_tests(void)
     SYSTEM_INFO si;
     LONG test_idx;
 
-    if (!use_mt)
+    /* Running the tests multithreaded on 32-bit maps too much memory in Wine,
+     * even with only 2 threads. */
+    if (!use_mt || sizeof(void *) == 4)
     {
         for (i = 0; i < mt_test_count; ++i)
         {
-- 
2.34.1




More information about the wine-devel mailing list