zlacker

[return to "Building the DirectX shader compiler better than Microsoft?"]
1. mcraih+c7[view] [source] 2024-02-10 11:02:34
>>emidoo+(OP)
This is also related to Godot "The reason to make it optional is that Direct3D 12 support currently relies on the proprietary dxil.dll library from the DirectX Shader Compiler being shipped together with Godot, and shipping proprietary software goes against the mission of the Godot project." https://godotengine.org/article/dev-snapshot-godot-4-3-dev-3...
◧◩
2. yazzku+zw1[view] [source] 2024-02-10 22:05:33
>>mcraih+c7
Which part of dxil/dxc is proprietary exactly? Trying to make sense of the license barf at https://github.com/microsoft/DirectXShaderCompiler
◧◩◪
3. zerocr+gz1[view] [source] 2024-02-10 22:31:55
>>yazzku+zw1
The license (and the code) for dxil.dll/libdxil.so isn't in that repo, they just include the blob in releases. If you look at a release you'll see an additional LICENSE-MS.txt that just covers that dxil signing library.
◧◩◪◨
4. yazzku+zz1[view] [source] 2024-02-10 22:35:39
>>zerocr+gz1
How is that compatible with the GPL licence from autoconf?
◧◩◪◨⬒
5. zerocr+uF1[view] [source] 2024-02-10 23:22:47
>>yazzku+zz1
Looks like the only autoconf bit they use is an old copy of config.guess that was used in the LLVM they forked from (I think they've since taken it out entirely in the LLVM upstream).

There's actually a carveout in config.guess's license that lets you redistribute it under whatever license you want but only if you're actually using an autoconf-based build. The LLVM version this is based off of only uses config.guess and not anything else from autoconf, so that carveout doesn't apply. Instead LLVM just relied on the fact that config.guess is only getting called via the command line, so the GPL's "virality" doesn't apply; LLVM (and now Microsoft) just distributed config.guess separately licensed as GPL alongside their code.

[go to top]