|
|
@@ -94,7 +94,13 @@ bool dx_force_16bpptextures = config_dxgsg8.GetBool("dx-force-16bpptextures", fa
|
|
|
bool dx_no_dithering = config_dxgsg8.GetBool("dx-no-dithering", false);
|
|
|
bool dx_force_16bpp_zbuffer = config_dxgsg8.GetBool("dx-force-16bpp-zbuffer", false);
|
|
|
bool dx_do_vidmemsize_check = config_dxgsg8.GetBool("do-vidmemsize-check", true);
|
|
|
-bool dx_preserve_fpu_state = config_dxgsg8.GetBool("dx-preserve-fpu-state", false);
|
|
|
+// Setting this true theoretically hinders render performance, because
|
|
|
+// it forces the FPU to go through some extra work to clean itself up
|
|
|
+// after rendering a frame, but the performance cost seems to be
|
|
|
+// small. On the other hand, setting it false can force the
|
|
|
+// application to run in single-precision arithmetic mode, even if
|
|
|
+// it believes it is using double-precision variables.
|
|
|
+bool dx_preserve_fpu_state = config_dxgsg8.GetBool("dx-preserve-fpu-state", true);
|
|
|
|
|
|
// if true, override win-width/height and use driver vidmem info to
|
|
|
// pick what will be a fullscreen window size close to the best perf
|