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

Qt3D - Enable texture array

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 6.5.3, 6.6.0 Beta4, 6.7.0 FF
    • 6.5.2
    • Qt3D
    • None
    • Windows
    • 781c07e2a (dev), 6d225afa5 (6.5), 6fc59847c (6.6)

    Description

      In qt3d\src\plugins\renderers\rhi\textures\texture.cpp

      // For a Single Texture Image Upload
      template<typename F>
      void filterLayerAndFace(int layer, int face, F f)
      {
          if (layer == 0 && face == 0) {
              f(0);
          } else if (layer > 0 && face == 0) {
              qWarning() << Q_FUNC_INFO << "Unsupported case, see QTBUG-83343";
              // f(layer);
          } else if (layer == 0 && face > 0) {
              f(face);
          } else {
              qWarning() << Q_FUNC_INFO << "Unsupported case";
          }
      }

       

      Using texture layers with the RHI render prints out "Unsupported case, see QTBUG-83343"

      QTBUG-833423 is closed and it seems like RHI supports texture arrays. We might need to remove this warning and uncomment 

      f(layer)

      .

      Attachments

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

        Activity

          People

            seanharmer Sean Harmer
            vpicaver Philip Schuchardt
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes