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

QSG_VISUALIZE does not work in core profile

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 5.6.1, 5.7.0
    • Fix Version/s: None
    • Labels:
      None

      Description

      The various QSG_VISUALIZE modes don't work at all when using a core profile. Doing so dumps errors on the console:

      Failed to find shader ":/qt-project.org/scenegraph/shaders/visualization_core.vert"
      QOpenGLShader::compile(Vertex): 0:1(8): error: syntax error, unexpected $end
      
      *** Problematic Vertex shader source code ***
      #define lowp
      #define mediump
      #define highp
      #line 1
      
      ***
      Failed to find shader ":/qt-project.org/scenegraph/shaders/visualization_core.frag"
      QOpenGLShader::compile(Fragment): 0:1(8): error: syntax error, unexpected $end
      
      *** Problematic Fragment shader source code ***
      #define lowp
      #define mediump
      #define highp
      #line 1
      
      ***
      QOpenGLShader::link: error: no shaders attached to the program
      
      QOpenGLShader::link: error: no shaders attached to the program
      
      QOpenGLShaderProgram::uniformLocation( color ): shader program is not linked
      QOpenGLShaderProgram::uniformLocation( pattern ): shader program is not linked
      QOpenGLShaderProgram::uniformLocation( projection ): shader program is not linked
      QOpenGLShaderProgram::uniformLocation( matrix ): shader program is not linked
      QOpenGLShaderProgram::uniformLocation( rotation ): shader program is not linked
      QOpenGLShader::link: error: no shaders attached to the program
      
      QOpenGLShader::link: error: no shaders attached to the program
      
      QOpenGLShader::link: error: no shaders attached to the program
      
      QOpenGLShader::link: error: no shaders attached to the program
      
      QOpenGLShader::link: error: no shaders attached to the program
      
      QOpenGLShader::link: error: no shaders attached to the program
      
      QOpenGLShader::link: error: no shaders attached to the program
      
      QOpenGLShader::link: error: no shaders attached to the program
      
      QOpenGLShader::link: error: no shaders attached to the program
      
      

        Attachments

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

          Activity

            People

            Assignee:
            lagocs Laszlo Agocs
            Reporter:
            peppe Giuseppe D'Angelo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes