[PATCH] wined3d: Add a setting to turn off aggressive optimization on NVIDIA.

Henri Verbeet hverbeet at gmail.com
Tue Feb 26 11:44:25 CST 2019


On Mon, 25 Feb 2019 at 19:44, Paul Gofman <gofmanp at gmail.com> wrote:
>
> NVIDIA drivers perform too aggressive optimization involving change
> of computation order (aka 'fastmath') by default. The setting
> helps to workaround bugs like https://bugs.winehq.org/show_bug.cgi?id=35207.
>
> Signed-off-by: Paul Gofman <gofmanp at gmail.com>
> ---
>  dlls/wined3d/adapter_gl.c      | 17 +++++++++++++++++
>  dlls/wined3d/glsl_shader.c     |  3 +++
>  dlls/wined3d/wined3d_main.c    |  8 ++++++++
>  dlls/wined3d/wined3d_private.h |  2 ++
>  4 files changed, 30 insertions(+)
>
Does the attached patch also work for you?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wined3d_strict_shader_math.diff
Type: text/x-patch
Size: 2871 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20190226/d3d5527c/attachment.bin>


More information about the wine-devel mailing list