rhi: d3d12: Clean up the warning shown when dxc libs are missing

Since this was written we added support in windeployqt to find these
DLLs similarly to how the old d3dcompiler_*.dll is bundled.
Therefore, rephrase a little bit.

Change-Id: I13eafea67607900307ff84da3323e84e066de9f8
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
This commit is contained in:
Laszlo Agocs 2023-07-19 16:37:08 +02:00
parent e310bc1646
commit 54e114f20d

View File

@ -4929,7 +4929,7 @@ static QByteArray dxcCompile(const QShaderCode &hlslSource, const char *target,
IDxcCompiler *compiler = dxc.first;
if (!compiler) {
qWarning("Unable to instantiate IDxcCompiler. Likely no dxcompiler.dll and dxil.dll present. "
"Bundling these are out of scope for Qt. Try https://github.com/microsoft/DirectXShaderCompiler/releases");
"Use windeployqt or try https://github.com/microsoft/DirectXShaderCompiler/releases");
return QByteArray();
}
IDxcLibrary *library = dxc.second;