Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-114769 Multiview and related in the Qt graphics stack and Quick 3D XR
  3. QTBUG-119743

Add qt_add_shaders convenience option to auto-generate 2-view versions of the shaders

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Fixed
    • P2: Important
    • 6.8.0 FF
    • None
    • None
    • ea95d4e41 (dev)

    Description

      The original idea of everything doing an additional qt_add_shaders() with
      VIEW_COUNT 2 GLSL 330,300es HLSL 61 MSL 12 does not scale, e.g. in qtdeclarative there are numerous qt_add_shaders() calls and we'd need to duplicate pretty much all of them to get the multiview (2 view) versions of the shaders.

      Therefore, for internal purposes it would be highly beneficial to have a dedicated option, e.g. AUTO_MULTIVIEW, that would automatically do an additional round with the above settings, generating qsb files with some fixed suffix. This way in qtdeclarative and elsehwere we could probably just add this option and be done.

      Attachments

        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:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes