[PATCH] d3dx9_36: Stop crash when displaying effect errors

Matteo Bruni matteo.mystral at gmail.com
Thu Jun 2 13:29:52 CDT 2016


2016-06-02 9:56 GMT+02:00 Alistair Leslie-Hughes <leslie_alistair at hotmail.com>:
> On 02/06/16 07:18, Matteo Bruni wrote:
>> 2016-06-01 12:18 GMT+02:00 Alistair Leslie-Hughes <leslie_alistair at hotmail.com>:
>>
>> What effect / application is crashing because of this and what are the errors?
>>
>>
> The Game is Battlefield 1225 Demo.  I was investigating issue
> https://bugs.winehq.org/show_bug.cgi?id=39652
>
> I have
> d3dcompiler_43 set to native.
> d3d9_* set to buildin.
>
> The errors generated are
> "Shaders/commonVertexLight.fx(30,9): warning X3205: conversion from
> larger type to smaller, possible loss of
> data\nShaders/commonVertexLight.fx(31,7): warning X3205: conversion from
> larger type to smaller, possible loss of
> data\nShaders/commonVertexLight.fx(40,9): warning X3205: conversion from
> larger"...

Thanks. I think a better way to fix this is to break the TRACE message
over multiple lines. Maybe break on '\n' or every ~80 characters
(whichever comes first)?

>
> Best Regards
>  Alistair Leslie-Hughes



More information about the wine-devel mailing list