[PATCH] d3dcompiler: Implement D3DCompileFromFile().

Jactry Zeng jzeng at codeweavers.com
Wed Apr 8 01:05:44 CDT 2020


On 4/6/20 18:01, Nikolay Sivov wrote:
>> +
>> +    hr = D3DCompile(source, strlen(source), NULL, defines, includes, entrypoint, target, flags1, flags2, code, errors);
> Length passed to D3DCompile() does not look right. Shouldn't you pass source_size there instead? Also mapping the file is probably easier.

Yes, this is wrong. I sent another try.
Thanks!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20200408/c442d50a/attachment-0001.htm>


More information about the wine-devel mailing list