Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-74406 Abstract away the graphics APIs in Qt
  3. QTBUG-79051

QRhi autotests: Have to work around the lack of D3DCompile on WinRT (UWP)

XMLWordPrintable

    • Icon: Technical task Technical task
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 5.14
    • None
    • None

      There is no runtime compilation support in WinRT. Or rather, there is support for development purposes but such applications are not deployable.

      In our CI we already see that attempting to compile HLSL at runtime will fail as D3DCompile() cannot be resolved on WinRT. So there the D3D11 backend can only consume bytecode that has been generated by fxc offline (which is done by running qsb with the -c argument on Windows).

      Make it possible to survive on WinRT, by skipping the attempt to compile HLSL from source. (and fail the pipeline creation instead )

      This means that the qrhi autotest has to be updated to include dx bytecode in its .qsb assets instead of HLSL source code.

        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