XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

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

          Activity

            People

              lagocs Laszlo Agocs
              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