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

Multiple shaders compiling

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • None
    • 5.7.0
    • Qt3D
    • None
    • OSX
    • 3f4b3d1a30da20f36101aa5505eafb90f3dd72c6

    Description

      Renderer::updateGLResources()

      .
      .
      .
      const QVector<HShader> activeShaderHandles = m_nodesManager->shaderManager()->activeHandles();
      for (HShader handle: activeShaderHandles) {
      Shader *shader = m_nodesManager->shaderManager()->data(handle);
      if (!shader->isLoaded())

      { // Compile shader m_graphicsContext->loadShader(shader); }

      }

      =======
      This snippet of code is the cause of multiple shaders attempting to compile at the same time. On desktop it spits out a compilation error during runtime.
      Sean has already passed you more details on the matter.

      Attachments

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

        Activity

          People

            lemire_p Paul Lemire
            rbrock Robert Brock
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes