Details
-
Bug
-
Resolution: Invalid
-
P2: Important
-
None
-
4.8.0
-
Windows 7
Driver Package Information: 8.92-111109a-129966C-ATI
Description
It seems that the GLSL version numbers are not specified in the shader source provided in the OpenGL module. I enabled the Core Profile, and tried to construct a QPainter for 2D overpainting, however the application crashes after trying to compile the internal Qt shaders.
Errors:
QGLShader::compile(Vertex): Vertex shader failed to compile with the following errors:
ERROR: error(#272) Implicit version number 110 not supported by GL3 forward compatible context
ERROR: error(#273) 1 compilation errors. No code generated
Vertex shader for simpleShaderProg (MainVertexShader & PositionOnlyVertexShader) failed to compile
QGLShader::compile(Fragment): Fragment shader failed to compile with the following errors:
ERROR: error(#272) Implicit version number 110 not supported by GL3 forward compatible context
ERROR: error(#273) 1 compilation errors. No code generated
Fragment shader for simpleShaderProg (MainFragmentShader & ShockingPinkSrcFragmentShader) failed to compile
QGLShader::link: "Vertex and Fragment shader(s) were not successfully compiled before glLinkProgram() was called. Link failed.
"
Errors linking simple shader: "Vertex and Fragment shader(s) were not successfully compiled before glLinkProgram() was called. Link failed.
"
QGLShader::compile(Vertex): Vertex shader failed to compile with the following errors:
ERROR: error(#272) Implicit version number 110 not supported by GL3 forward compatible context
ERROR: error(#273) 1 compilation errors. No code generated
Vertex shader for blitShaderProg (MainWithTexCoordsVertexShader & UntransformedPositionVertexShader) failed to compile
QGLShader::compile(Fragment): Fragment shader failed to compile with the following errors:
ERROR: error(#272) Implicit version number 110 not supported by GL3 forward compatible context
ERROR: error(#273) 1 compilation errors. No code generated
Fragment shader for blitShaderProg (MainFragmentShader & ImageSrcFragmentShader) failed to compile
QGLShader::link: "Vertex and Fragment shader(s) were not successfully compiled before glLinkProgram() was called. Link failed.
"
Errors linking blit shader: "Vertex and Fragment shader(s) were not successfully compiled before glLinkProgram() was called. Link failed.
"
QGLShader::compile(Fragment)[Fragment shader: main=MainFragmentShader_M, srcPixel=SolidBrushSrcFragmentShader, composition=NoCompositionModeFragmentShader, mask=RgbMaskFragmentShaderPass1]: Fragment shader failed to compile with the following errors:
ERROR: error(#272) Implicit version number 110 not supported by GL3 forward compatible context
ERROR: error(#273) 1 compilation errors. No code generated
Warning: "Fragment shader: main=MainFragmentShader_M, srcPixel=SolidBrushSrcFragmentShader, composition=NoCompositionModeFragmentShader, mask=RgbMaskFragmentShaderPass1" failed to compile!