Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
None
-
Qt 3D Studio 2.2 BETA1
-
None
-
Windows 10, Lenovo Carbon X1, Intel HD Graphics 520
-
-
d88e4da4f42d2e3b5db1cc636a3fa19d38b7e853
Description
Warning: Setting a new default format with a different version or profile after the global shared context is created may cause issues with context sharing.QOpenGLShader::compile(Vertex): ERROR: 0:2: '' : syntax error: #version directive must occur in a shader before anything elseERROR: 0:2: '' : illegal order of preprocessor directives*** Problematic Vertex shader source code **#define lowp#define mediump#define highp#line 1attribute highp vec2 aVertex;attribute highp vec2 aUV;uniform highp vec4 uTexOffset;uniform highp vec4 uGeomOffset;varying highp vec2 vUV;void main(void)}{{gl_Position = vec4(uGeomOffset.xy + aVertex * uGeomOffset.zw, 0.0, 1.0);vUV = vec2(uTexOffset.z * aUV.x + uTexOffset.x,uTexOffset.w * aUV.y + uTexOffset.y);}**SceneCameraGlWidget::initializeGL Failed to add vertex shader for scene camera previewqt3ds.trace_info: GLSL version: 4.50 - Build 24.20.100.6170qt3ds.trace_info: GL version: 4.5.0 - Build 24.20.100.6170qt3ds.trace_info: HW vendor: Intelqt3ds.trace_info: Vendor renderer: Intel(R) HD Graphics 520
Stack
1 QScopedPointer<QObjectData,QScopedPointerDeleter<QObjectData>>::operator-> qscopedpointer.h 118 0x579b7b4a
2 qGetPtrHelper<QScopedPointer<QObjectData,QScopedPointerDeleter<QObjectData>>> qglobal.h 1038 0x579ad93b
3 QOpenGLVertexArrayObject::d_func qopenglvertexarrayobject.h 102 0x57df3e93
4 QOpenGLVertexArrayObject::bind qopenglvertexarrayobject.cpp 449 0x57eecde1
5 SceneCameraGlWidget::paintGL scenecameraglwidget.cpp 158 0x165ac6a
6 QOpenGLWidgetPrivate::invokeUserPaint qopenglwidget.cpp 879 0x584fd30f
7 QOpenGLWidgetPrivate::render qopenglwidget.cpp 900 0x584fd3ae
8 QOpenGLWidget::paintEvent qopenglwidget.cpp 1312 0x584fbeab
9 QWidget::event qwidget.cpp 9052 0x584bf5a7
10 QOpenGLWidget::event qopenglwidget.cpp 1466 0x584fc138
11 QApplicationPrivate::notify_helper qapplication.cpp 3752 0x5847a37b
12 QApplication::notify qapplication.cpp 3703 0x584784fc
13 QCoreApplication::notifyInternal2 qcoreapplication.cpp 1061 0x571f7e3c
14 QCoreApplication::sendSpontaneousEvent qcoreapplication.cpp 1463 0x571f7d28
15 QWidgetPrivate::sendPaintEvent qwidget.cpp 5663 0x584c6bdf
16 QWidgetPrivate::drawWidget qwidget.cpp 5607 0x584c6863
17 QWidgetPrivate::paintSiblingsRecursive qwidget.cpp 5799 0x584c6f6a
18 QWidgetPrivate::drawWidget qwidget.cpp 5657 0x584c6b8d
19 QWidgetPrivate::paintSiblingsRecursive qwidget.cpp 5799 0x584c6f6a
20 QWidgetPrivate::paintSiblingsRecursive qwidget.cpp 5786 0x584c6e95
... <More>