make dx-preserve-fpu-state the default

This commit is contained in:
David Rose 2003-06-14 00:52:02 +00:00
parent 9a480035c8
commit 0a9049c8c0
2 changed files with 14 additions and 2 deletions

View File

@ -82,7 +82,13 @@ bool dx_force_16bpptextures = config_dxgsg7.GetBool("dx-force-16bpptextures", fa
bool dx_no_dithering = config_dxgsg7.GetBool("dx-no-dithering", false);
bool dx_force_16bpp_zbuffer = config_dxgsg7.GetBool("dx-force-16bpp-zbuffer", false);
bool dx_do_vidmemsize_check = config_dxgsg7.GetBool("do-vidmemsize-check", true);
bool dx_preserve_fpu_state = config_dxgsg7.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_dxgsg7.GetBool("dx-preserve-fpu-state", true);
// Configure this true to try to implement decals using a
// DepthOffsetAttrib, false to do them with the more reliable 3-pass

View File

@ -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