Details
Description
In Qt 6.7 qsb supports invoking dxc instead of fxc when passing a -hlsl argument where the version is >= 6.0. This is required for multiview as SV_ViewId is a 6.1 feature. But fxc and D3Dcompile() do not accept vs_6_1. Assuming dxc (and dxil.dll and dxcompiler.dll) are available in modern Windows SDKs, this is not a problem for qsb. For the runtime HLSL>DXIL compilation this is a big issue however since we only currently implement HLSL>DXBC using D3DCompiler() at the moment. What's more, using IDxcCompiler will likely need to be done dynamically since nothing guarantees dxil.dll and dxcompiler.dll are available at runtime. (is this really the case?)
Attachments
Issue Links
- is required for
-
QTBUG-114773 Use dxc/IDxcCompiler in qsb and the D3D12 backend when shader model >= 6.0 is specified
- Closed