XMLWordPrintable

    • Icon: Technical task Technical task
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 6.0
    • Build tools: Other, Qt RHI
    • None

      Both Qt Quick and application could benefit from a way to do shader processing (running the qsb tool) at build time.

      This should involve listing the shaders (.vert and .frag files), together with options (which variants to generate) in the CMakeLists, which then under the hood leads to invoking qsb, and also generating a resource file list so that the generated .qsb files end up in the resource system. So basically an automated way of what we achieve today by the compile.bat scripts and checking in and listing the .qsb files in the resources.
       
      A smart solution should also add arguments like -c or -t to the qsb invocation automatically, if the platform is the right one. (on Windows, -c leads qsb to call fxc.exe, and store pre-compiled bytecode in the .qsb file instead of HLSL source)

      Also: to be synchronized with Quick3D's offline shader efforts.

        For Gerrit Dashboard: QTBUG-78590
        # Subject Branch Project Status CR V

            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