Compiling d2d1 shaders

Giovanni Mascellani gio at
Sat Jan 11 06:42:57 CST 2020


d2d1.dll code contains HLSL shaders both in source code (guarded by #if
0) and in bytecode. What is the correct way to recompile the bytecode
when the changing the source code? Is there some automated tooling, or
is everything done by manual copy and paste? In particular, I believe it
is NOT ok to use Microsoft's implementation of D3DCompile & co., or is it?

Thanks, Giovanni.
Giovanni Mascellani <g.mascellani at>
Postdoc researcher - Université Libre de Bruxelles

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: OpenPGP digital signature
URL: <>

More information about the wine-devel mailing list