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

QSG_VISUALIZE does not work in core profile

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3: Somewhat important
    • 6.0
    • 5.6.1, 5.7.0
    • 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

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes