( 23.781s) [paraview ] vtkShaderProgram.cxx:452 ERR| vtkShaderProgram (0x555560f1a940): 1: #version 150
2: #ifdef GL_ES
3: #ifdef GL_FRAGMENT_PRECISION_HIGH
4: precision highp float;
5: precision highp sampler2D;
6: precision highp sampler3D;
7: #else
8: precision mediump float;
9: precision mediump sampler2D;
10: precision mediump sampler3D;
11: #endif
12: #define texelFetchBuffer texelFetch
13: #define texture1D texture
14: #define texture2D texture
15: #define texture3D texture
16: #else // GL_ES
17: #define highp
18: #define mediump
19: #define lowp
20: #if __VERSION__ == 150
21: #define texelFetchBuffer texelFetch
22: #define texture1D texture
23: #define texture2D texture
24: #define texture3D texture
25: #endif
26: #endif // GL_ES
27: #define varying in
28:
29:
30: /*=========================================================================
31:
32: Program: Visualization Toolkit
33: Module: vtkPolyDataFS.glsl
34:
35: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
36: All rights reserved.
37: See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
38:
39: This software is distributed WITHOUT ANY WARRANTY; without even
40: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
41: PURPOSE. See the above copyright notice for more information.
42:
43: =========================================================================*/
44: // Template for the polydata mappers fragment shader
45:
46: uniform int PrimitiveIDOffset;
47:
48:
49:
50: // VC position of this fragment
51: //VTK::PositionVC::Dec
52:
53: // Camera prop
54: uniform int cameraParallel;
55:
56:
57: // optional color passed in from the vertex shader, vertexColor
58: uniform bool OverridesColor;
59: uniform float ambientIntensity; // the material ambient
60: uniform float diffuseIntensity; // the material diffuse
61: uniform float opacityUniform; // the fragment opacity
62: uniform vec3 ambientColorUniform; // ambient color
63: uniform vec3 diffuseColorUniform; // diffuse color
64:
65:
66: // optional surface normal declaration
67: //VTK::Normal::Dec
68:
69: // extra lighting parameters
70: uniform vec3 lightColor0;
71: uniform vec3 lightDirectionVC0; // normalized
72: uniform vec3 lightColor1;
73: uniform vec3 lightDirectionVC1; // normalized
74: uniform vec3 lightColor2;
75: uniform vec3 lightDirectionVC2; // normalized
76: uniform vec3 lightColor3;
77: uniform vec3 lightDirectionVC3; // normalized
78: uniform vec3 lightColor4;
79: uniform vec3 lightDirectionVC4; // normalized
80: 81:
82: // Texture maps
83: //VTK::TMap::Dec
84:
85: // Texture coordinates
86: uniform int uMaskOnSurface;
87: uniform mat3 normalMatrix;
88: in vec3 tcoordVCVSOutput;
89:
90: // picking support
91: //VTK::Picking::Dec
92:
93: // Depth Peeling Support
94: //VTK::DepthPeeling::Dec
95:
96: // clipping plane vars
97: //VTK::Clip::Dec
98:
99: // the output of this shader
100: out vec4 fragOutput0;
101: out vec4 fragOutput1;
102: out vec4 fragOutput2;
103:
104:
105: // Apple Bug
106: //VTK::PrimID::Dec
107:
108: // handle coincident offsets
109: uniform float cCValue;
110: uniform float cSValue;
111: uniform float cDValue;
112:
113: // Value raster
114: //VTK::ValuePass::Dec
115:
116: // surface with edges
117: //VTK::Edges::Dec
118:
119: void main()
120: {
121: // VC position of this fragment. This should not branch/return/discard.
122: //VTK::PositionVC::Impl
123:
124: // Place any calls that require uniform flow (e.g. dFdx) here.
125: //VTK::UniformFlow::Impl
126:
127: // Set gl_FragDepth here (gl_FragCoord.z by default)
128: float Zdc = gl_FragCoord.z*2.0 - 1.0;
129: float Z2 = -1.0*cDValue/(Zdc + cCValue) + cSValue;
130: float Zdc2 = -1.0*cCValue - cDValue/Z2;
131: gl_FragDepth = Zdc2*0.5 + 0.5;
132:
133:
134: // Early depth peeling abort:
135: //VTK::DepthPeeling::PreColor
136:
137: // Apple Bug
138: //VTK::PrimID::Impl
139:
140: //VTK::Clip::Impl
141:
142: //VTK::ValuePass::Impl
143:
144: vec3 ambientColor = ambientIntensity * ambientColorUniform;
145: vec3 diffuseColor = diffuseIntensity * diffuseColorUniform;
146: float opacity = opacityUniform;
147:
148: if (OverridesColor) {
149: ambientColor = ambientColorUniform * ambientIntensity;
150: diffuseColor = diffuseColorUniform * diffuseIntensity; }
151:
152:
153: //VTK::Edges::Impl
154:
155: // Generate the normal if we are not passed in one
156: //VTK::Normal::Impl
157:
158: fragOutput0 = vec4(ambientColor + diffuseColor, opacity);
159: //VTK::Light::Impl
160:
161:
162: vec3 tcoordLIC = normalMatrix * tcoordVCVSOutput;
163: vec3 normN = normalize(normalVCVSOutput);
164: float k = dot(tcoordLIC, normN);
165: tcoordLIC = (tcoordLIC - k*normN);
166: fragOutput1 = vec4(tcoordLIC.x, tcoordLIC.y, 0.0 , gl_FragCoord.z);
167: if (uMaskOnSurface == 0)
168: {
169: fragOutput2 = vec4(tcoordVCVSOutput, gl_FragCoord.z);
170: }
171: else
172: {
173: fragOutput2 = vec4(tcoordLIC.x, tcoordLIC.y, 0.0 , gl_FragCoord.z);
174: }
175:
176:
177: if (fragOutput0.a <= 0.0)
178: {
179: discard;
180: }
181:
182: //VTK::DepthPeeling::Impl
183:
184: //VTK::Picking::Impl
185:
186: // handle coincident offsets
187: //VTK::Coincident::Impl
188: }
( 23.796s) [paraview ] vtkShaderProgram.cxx:453 ERR| vtkShaderProgram (0x555560f1a940): 0(163) : error C1503: undefined variable "normalVCVSOutput"
Thread 1 "paraview" received signal SIGSEGV, Segmentation fault.
0x00007ffff45f0f5d in vtkOpenGLPolyDataMapper::UpdateShaders (this=0x555560f0ee90, cellBO=..., ren=0x55555d22e7e0, actor=0x55555e14c6c0) at /home/glow/work/paraview/paraviewThird/paraview/VTK/Rendering/OpenGL2/vtkOpenGLPolyDataMapper.cxx:2374
2374 if (newShader != cellBO.Program || cellBO.Program->GetMTime() > cellBO.AttributeUpdateTime)
(gdb) bt
#0 0x00007ffff45f0f5d in vtkOpenGLPolyDataMapper::UpdateShaders (this=0x555560f0ee90, cellBO=..., ren=0x55555d22e7e0, actor=0x55555e14c6c0) at /home/glow/work/paraview/paraviewThird/paraview/VTK/Rendering/OpenGL2/vtkOpenGLPolyDataMapper.cxx:2374
#1 0x00007ffff450da82 in vtkCompositeMapperHelper2::UpdateShaders (this=0x555560f0ee90, cellBO=..., ren=0x55555d22e7e0, act=0x55555e14c6c0) at /home/glow/work/paraview/paraviewThird/paraview/VTK/Rendering/OpenGL2/vtkCompositePolyDataMapper2.cxx:172
#2 0x00007ffff450e3e2 in vtkCompositeMapperHelper2::DrawIBO (this=0x555560f0ee90, ren=0x55555d22e7e0, actor=0x55555e14c6c0, primType=1, CellBO=..., mode=1, pointSize=0) at /home/glow/work/paraview/paraviewThird/paraview/VTK/Rendering/OpenGL2/vtkCompositePolyDataMapper2.cxx:319
#3 0x00007ffff450e8ee in vtkCompositeMapperHelper2::RenderPieceDraw (this=0x555560f0ee90, ren=0x55555d22e7e0, actor=0x55555e14c6c0) at /home/glow/work/paraview/paraviewThird/paraview/VTK/Rendering/OpenGL2/vtkCompositePolyDataMapper2.cxx:410
#4 0x00007ffff450e31d in vtkCompositeMapperHelper2::RenderPiece (this=0x555560f0ee90, ren=0x55555d22e7e0, actor=0x55555e14c6c0) at /home/glow/work/paraview/paraviewThird/paraview/VTK/Rendering/OpenGL2/vtkCompositePolyDataMapper2.cxx:303
#5 0x00007ffff4514f72 in vtkCompositePolyDataMapper2::Render (this=0x55555e141d60, ren=0x55555d22e7e0, actor=0x55555e14c6c0) at /home/glow/work/paraview/paraviewThird/paraview/VTK/Rendering/OpenGL2/vtkCompositePolyDataMapper2.cxx:1816
#6 0x00007fffebbab2ab in vtkCompositeSurfaceLICMapper::Render (this=0x55555e141d60, ren=0x55555d22e7e0, actor=0x55555e14c6c0) at /home/glow/work/paraview/paraviewThird/paraview/VTK/Rendering/LICOpenGL2/vtkCompositeSurfaceLICMapper.cxx:284
#7 0x00007ffff455f647 in vtkOpenGLActor::Render (this=0x55555e14c6c0, ren=0x55555d22e7e0, mapper=0x55555e141d60) at /home/glow/work/paraview/paraviewThird/paraview/VTK/Rendering/OpenGL2/vtkOpenGLActor.cxx:104
#8 0x00007fffef441d74 in vtkPVLODActor::Render (this=0x55555de8b570, ren=0x55555d22e7e0) at /home/glow/work/paraview/paraviewThird/paraview/Remoting/Views/vtkPVLODActor.cxx:141
#9 0x00007fffef441f6d in vtkPVLODActor::RenderOpaqueGeometry (this=0x55555de8b570, vp=0x55555d22e7e0) at /home/glow/work/paraview/paraviewThird/paraview/Remoting/Views/vtkPVLODActor.cxx:172
#10 0x00007ffff40a0c01 in vtkRenderer::UpdateOpaquePolygonalGeometry (this=0x55555d22e7e0) at /home/glow/work/paraview/paraviewThird/paraview/VTK/Rendering/Core/vtkRenderer.cxx:736
#11 0x00007ffff409fa0d in vtkRenderer::DeviceRenderOpaqueGeometry (this=0x55555d22e7e0) at /home/glow/work/paraview/paraviewThird/paraview/VTK/Rendering/Core/vtkRenderer.cxx:436
#12 0x00007ffff4633788 in vtkOpenGLRenderer::DeviceRenderOpaqueGeometry (this=0x55555d22e7e0, fbo=0x0) at /home/glow/work/paraview/paraviewThird/paraview/VTK/Rendering/OpenGL2/vtkOpenGLRenderer.cxx:494
#13 0x00007ffff4632c10 in vtkOpenGLRenderer::UpdateGeometry (this=0x55555d22e7e0, fbo=0x0) at /home/glow/work/paraview/paraviewThird/paraview/VTK/Rendering/OpenGL2/vtkOpenGLRenderer.cxx:390
#14 0x00007ffff407f48e in vtkRenderPass::UpdateGeometry (this=0x55555d2ddf30, renderer=0x55555d22e7e0, fbo=0x0) at /home/glow/work/paraview/paraviewThird/paraview/VTK/Rendering/Core/vtkRenderPass.cxx:93
#15 0x00007fffef409beb in vtkPVDefaultPass::Render (this=0x55555d2ddf30, render_state=0x7fffffffca80) at /home/glow/work/paraview/paraviewThird/paraview/Remoting/Views/vtkPVDefaultPass.cxx:43
#16 0x00007ffff450a815 in vtkCameraPass::Render (this=0x55555d2dd2b0, s=0x7fffffffca80) at /home/glow/work/paraview/paraviewThird/paraview/VTK/Rendering/OpenGL2/vtkCameraPass.cxx:144
#17 0x00007ffff4631fa3 in vtkOpenGLRenderer::DeviceRender (this=0x55555d22e7e0) at /home/glow/work/paraview/paraviewThird/paraview/VTK/Rendering/OpenGL2/vtkOpenGLRenderer.cxx:281
#18 0x00007ffff409f53e in vtkRenderer::Render (this=0x55555d22e7e0) at /home/glow/work/paraview/paraviewThird/paraview/VTK/Rendering/Core/vtkRenderer.cxx:377
#19 0x00007ffff40b4866 in vtkRendererCollection::Render (this=0x555558207c80) at /home/glow/work/paraview/paraviewThird/paraview/VTK/Rendering/Core/vtkRendererCollection.cxx:51
#20 0x00007ffff4082d44 in vtkRenderWindow::DoStereoRender (this=0x55555d59cd10) at /home/glow/work/paraview/paraviewThird/paraview/VTK/Rendering/Core/vtkRenderWindow.cxx:337
#21 0x00007ffff4082b1d in vtkRenderWindow::Render (this=0x55555d59cd10) at /home/glow/work/paraview/paraviewThird/paraview/VTK/Rendering/Core/vtkRenderWindow.cxx:297
#22 0x00007ffff462fef0 in vtkOpenGLRenderWindow::Render (this=0x55555d59cd10) at /home/glow/work/paraview/paraviewThird/paraview/VTK/Rendering/OpenGL2/vtkOpenGLRenderWindow.cxx:2067
#23 0x00007ffff4550d36 in vtkGenericOpenGLRenderWindow::Render (this=0x55555d59cd10) at /home/glow/work/paraview/paraviewThird/paraview/VTK/Rendering/OpenGL2/vtkGenericOpenGLRenderWindow.cxx:218
#24 0x00007fffef475934 in vtkPVRenderView::Render (this=0x55555814f230, interactive=false, skip_rendering=false) at /home/glow/work/paraview/paraviewThird/paraview/Remoting/Views/vtkPVRenderView.cxx:1601
#25 0x00007fffef474994 in vtkPVRenderView::StillRender (this=0x55555814f230) at /home/glow/work/paraview/paraviewThird/paraview/Remoting/Views/vtkPVRenderView.cxx:1384
#26 0x00007fffefd4a325 in vtkPVRenderViewCommand (arlu=0x55555586ab50, ob=0x55555814f230, method=0x55555ebaf589 "StillRender", msg=..., resultStream=...) at CMakeFiles/vtkRemotingViewsCS/vtkPVRenderViewClientServer.cxx:242
#27 0x00007ffff4e39c83 in vtkClientServerInterpreter::CallCommandFunction (this=0x55555586ab50, cname=0x7fffef5a066e "vtkPVRenderView", ptr=0x55555814f230, method=0x55555ebaf589 "StillRender", msg=..., result=...)
at /home/glow/work/paraview/paraviewThird/paraview/Remoting/ClientServerStream/vtkClientServerInterpreter.cxx:809
#28 0x00007ffff4e38244 in vtkClientServerInterpreter::ProcessCommandInvoke (this=0x55555586ab50, css=..., midx=2) at /home/glow/work/paraview/paraviewThird/paraview/Remoting/ClientServerStream/vtkClientServerInterpreter.cxx:424
#29 0x00007ffff4e37754 in vtkClientServerInterpreter::ProcessOneMessage (this=0x55555586ab50, css=..., message=2) at /home/glow/work/paraview/paraviewThird/paraview/Remoting/ClientServerStream/vtkClientServerInterpreter.cxx:265
#30 0x00007ffff4e375db in vtkClientServerInterpreter::ProcessStream (this=0x55555586ab50, css=...) at /home/glow/work/paraview/paraviewThird/paraview/Remoting/ClientServerStream/vtkClientServerInterpreter.cxx:235
#31 0x00007ffff5881eb4 in vtkPVSessionCore::ExecuteStreamInternal (this=0x55555586bcf0, stream=..., ignore_errors=false) at /home/glow/work/paraview/paraviewThird/paraview/Remoting/ServerManager/vtkPVSessionCore.cxx:637
#32 0x00007ffff5881c7f in vtkPVSessionCore::ExecuteStream (this=0x55555586bcf0, location=16, stream=..., ignore_errors=false) at /home/glow/work/paraview/paraviewThird/paraview/Remoting/ServerManager/vtkPVSessionCore.cxx:607
#33 0x00007ffff587e214 in vtkPVSessionBase::ExecuteStream (this=0x555555cece70, location=16, stream=..., ignore_errors=false) at /home/glow/work/paraview/paraviewThird/paraview/Remoting/ServerManager/vtkPVSessionBase.cxx:165
#34 0x00007ffff59b41e4 in vtkSMProxy::ExecuteStream (this=0x55555c6044b0, stream=..., ignore_errors=false, location=16) at /home/glow/work/paraview/paraviewThird/paraview/Remoting/ServerManager/vtkSMProxy.cxx:2397
#35 0x00007fffef54ac0f in vtkSMViewProxy::StillRender (this=0x55555c6044b0) at /home/glow/work/paraview/paraviewThird/paraview/Remoting/Views/vtkSMViewProxy.cxx:428
#36 0x00007ffff6b52072 in pqView::forceRender (this=0x55555d2e9700) at /home/glow/work/paraview/paraviewThird/paraview/Qt/Core/pqView.cxx:245
#37 0x00007ffff6b51fbe in pqView::tryRender (this=0x55555d2e9700) at /home/glow/work/paraview/paraviewThird/paraview/Qt/Core/pqView.cxx:223
#38 0x00007ffff6a84578 in pqView::qt_static_metacall (_o=0x55555d2e9700, _c=QMetaObject::InvokeMetaMethod, _id=24, _a=0x7fffffffe310) at Qt/Core/pqCore_autogen/EWIEGA46WW/moc_pqView.cpp:203
#39 0x00007ffff5fad940 in ?? () from /usr/lib/libQt5Core.so.5
#40 0x00007ffff5fb197b in QTimer::timeout(QTimer::QPrivateSignal) () from /usr/lib/libQt5Core.so.5
#41 0x00007ffff5c7b1f1 in pqTimer::timerEvent (this=0x5555581cbc68, evt=0x7fffffffe4a0) at /home/glow/work/paraview/paraviewThird/paraview/ThirdParty/QtTesting/vtkqttesting/pqTimer.cxx:53
#42 0x00007ffff5fa2fef in QObject::event(QEvent*) () from /usr/lib/libQt5Core.so.5
#43 0x00007ffff72ae6f2 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#44 0x00007ffff5f7669a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#45 0x00007ffff5fce595 in QTimerInfoList::activateTimers() () from /usr/lib/libQt5Core.so.5
#46 0x00007ffff5fcee42 in ?? () from /usr/lib/libQt5Core.so.5
#47 0x00007fffed81943c in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#48 0x00007fffed866fa9 in ?? () from /usr/lib/libglib-2.0.so.0
#49 0x00007fffed818221 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#50 0x00007ffff5fcf211 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#51 0x00007ffff5f7501c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#52 0x00007ffff5f7d4a4 in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#53 0x0000555555562306 in main (argc=1, argv=0x5555556d4b50) at Clients/ParaView/paraview_main.cxx:138