<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body>
<p><br>
</p>
<div class="moz-cite-prefix">On 4/6/20 18:01, Nikolay Sivov wrote:<br>
</div>
<blockquote type="cite"
cite="mid:e7628073-28f5-043c-a44a-b6eb19eabbc2@codeweavers.com">
<blockquote type="cite" style="color: #000000;">+
<br>
+ hr = D3DCompile(source, strlen(source), NULL, defines,
includes, entrypoint, target, flags1, flags2, code, errors);
<br>
</blockquote>
Length passed to D3DCompile() does not look right. Shouldn't you
pass source_size there instead? Also mapping the file is probably
easier.
<br>
</blockquote>
<p>Yes, this is wrong. I sent another try.<br>
Thanks!<br>
</p>
</body>
</html>