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

Crash in all QtQuick applications using OpenGL ES

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.2.0
    • 5.2.0 Alpha
    • Quick: SceneGraph
    • Windows 8.1, GCC 4.8.1. mingw-64 r5984, OpenGL, Intel Graphics 2000.
    • 103d943afc2197bbf27df64d65360b5b2dad0d5b

    Description

      Using the versions on GIT after the 5.2 alpha, all QtQuick applications crash right on start here.

      The 5.2 Alpha 1 and versions before it, all works nice.

      The error is :

       
      QOpenGLShader::compile(Fragment): ERROR: 0:8: '' : No precision specified for (float) 
      
      *** Problematic Fragment shader source code ***
      #ifndef GL_FRAGMENT_PRECISION_HIGH
      #define highp mediump
      #endif
      varying highp vec2 sampleCoord;                            
      uniform lowp sampler2D texture;                            
      uniform lowp float color; // just the alpha, really...     
      void main() {                                              
          vec4 glyph = texture2D(texture, sampleCoord);          
          gl_FragColor = vec4(glyph.rgb * color, glyph.a);       
      } 
      ***
      Renderer failed shader compilation: 
      "" 
      The program has unexpectedly finished.
      

      Attachments

        Issue Links

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

          Activity

            People

              sletta Gunnar Sletta
              bratao Bruno Cabral
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes