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

Investigate SwiftShader as a software Vulkan implementation for CI purposes

    XMLWordPrintable

    Details

    • Type: Technical task
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Won't Do
    • Fix Version/s: 6.x
    • Component/s: Qt RHI
    • Labels:
      None

      Description

      SwiftShader has been adding Vulkan support in addition to OpenGL (ES). Investigate if this is something we could build ourselves and deploy in some CI configurations to allow running autotests on Vulkan.

      https://swiftshader.googlesource.com/SwiftShader

        

      Status 28/10/2019: I managed to produce a Vulkan library with MSVC 2019 from SwiftShader HEAD. Combined with setting VK_ICD_FILENAMES this allows running an application with the SwiftShader pure software Vulkan implementation. Out of the QRhi manual tests the ones that do not use textures seem to work, which is pretty impressive, although with limited performance. The ones that use textures either crash or hang however so this needs some further investigation.

       

        Attachments

          Issue Links

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

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes