[PATCH] wined3d: Increase the CS queue size.

Jan Sikorski jsikorski at codeweavers.com
Wed Mar 30 05:43:01 CDT 2022


Final Fantasy XIV routinely runs out of space in the queue, which
affects the frame rates.

Signed-off-by: Jan Sikorski <jsikorski at codeweavers.com>
---
On my particular testing set up the change is from ~85 fps to ~100 fps.
---
 dlls/wined3d/wined3d_private.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/wined3d/wined3d_private.h b/dlls/wined3d/wined3d_private.h
index 5b3eb0136b0..d53eb3985fa 100644
--- a/dlls/wined3d/wined3d_private.h
+++ b/dlls/wined3d/wined3d_private.h
@@ -4892,7 +4892,7 @@ enum wined3d_push_constants
 };
 
 #define WINED3D_CS_QUERY_POLL_INTERVAL  10u
-#define WINED3D_CS_QUEUE_SIZE           0x100000u
+#define WINED3D_CS_QUEUE_SIZE           0x400000u
 #define WINED3D_CS_SPIN_COUNT           10000000u
 #define WINED3D_CS_QUEUE_MASK           (WINED3D_CS_QUEUE_SIZE - 1)
 
-- 
2.32.0




More information about the wine-devel mailing list