Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-114768

Support IDxcCompiler for D3D12

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: P2: Important P2: Important
    • 6.7.0 FF
    • None
    • Qt RHI
    • None
    • 5a6f51a32 (dev), f3cf1fd76 (dev)

      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?)

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            lagocs Laszlo Agocs
            lagocs Laszlo Agocs
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes