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

Web Assembly RHI backend for WebGPU/GPUWeb

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • None
    • Other

    Description

      GPUWeb is an upcoming web graphics API which abstracts over Vulkan, D3D, and Metal. For Qt on the web it would be natural to implement a backend for the RHI graphics abstraction (QTBUG-70287).

      The backend can be developed on a desktop system, for example by building Dawn (Chrome) or gfx-rs/wgpu (Rust with C bindings). The WebGPU API is settling down now, but is not frozen yet. There are two competing proposals for the shader language: SPIR-V and WHLSL .

      For usage on the Web, then either 1) implement a JavaScript translation layer, or 2) wait for WebAssembly host bindings.

      Summary:

      Issue: Rendering advanced graphics could sometimes use additional performance. GPUWeb is an upcoming web graphics API which abstracts over Vulkan, D3D, and Metal, being standardised in W3C.

      Solution: Qt Web Assembly webGPU support for graphics rendering to offer better performance.

      Attachments

        Issue Links

          Activity

            People

              sorvig Morten Sørvig
              sorvig Morten Sørvig
              Veli-Pekka Heinonen Veli-Pekka Heinonen
              Tor Arne Vestbø Tor Arne Vestbø
              Votes:
              5 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated: