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

Paul Gofman gofmanp at gmail.com
Tue Feb 26 12:04:57 CST 2019


On 2/26/19 20:44, Henri Verbeet wrote:
> 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?

Yes, sure, it does.




More information about the wine-devel mailing list