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

    • Technical task
    • Resolution: Won't Do
    • P2: Important
    • 6.x
    • Qt RHI
    • 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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: