<div dir="ltr">That driver release dates from at least 2015 from what I can see. Isn't there anything newer available, before you go stressing about it?</div><br><div class="gmail_quote"><div dir="ltr">On Fri, Dec 14, 2018 at 8:29 PM Andrew Cunningham <<a href="mailto:andrewC@mac.com">andrewC@mac.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
I am using a vertex shader to do some hardware instancing and on Intel graphics drivers I am getting the error ( after I set OSG_NOTIFY_LEVEL=DEBUG).<br>
Everything works great on nVidia.<br>
<br>
OpenGL Information:<br>
OpenGL Version: 4.2.0 - Build 10.18.10.3574<br>
Vendor: Intel<br>
Renderer: Intel(R) HD Graphics 4600<br>
<br>
<br>
Compiling VERTEX source:<br>
1: #version 110<br>
2: //varying vec3 N;<br>
3: //varying vec3 v;<br>
4: attribute vec3 d;<br>
5: void main() <br>
6: { <br>
7: vec3 pos = vec3(gl_Vertex) + d;<br>
8: vec4 finalPos = vec4(pos, 1.0);<br>
9: vec3 v = vec3(gl_ModelViewMatrix * finalPos);<br>
10: vec3 N = normalize(gl_NormalMatrix * gl_Normal);<br>
11: vec4 Iamb = gl_FrontLightProduct[0].ambient; <br>
12: vec3 L = normalize(gl_LightSource[0].<a href="http://position.xyz" rel="noreferrer" target="_blank">position.xyz</a> - v);<br>
13: vec4 Idiff = gl_FrontLightProduct[0].diffuse * abs(dot(N,L));<br>
14: Idiff = clamp(Idiff, 0.0, 1.0); <br>
15: vec4 Iamb2 = gl_FrontLightProduct[1].ambient; <br>
16: vec3 L2 = normalize(gl_LightSource[1].<a href="http://position.xyz" rel="noreferrer" target="_blank">position.xyz</a> - v);<br>
17: vec4 Idiff2 = gl_FrontLightProduct[1].diffuse * abs(dot(N,L2));<br>
18: Idiff2 = clamp(Idiff2, 0.0, 1.0); <br>
19: gl_FrontColor = Idiff+Iamb+Idiff2+Iamb2;<br>
20: gl_BackColor = Idiff+Iamb+Idiff2+Iamb2;<br>
21: gl_Position = gl_ModelViewProjectionMatrix * finalPos;<br>
22: gl_ClipVertex = gl_ModelViewMatrix * finalPos;<br>
23: } <br>
<br>
<br>
Linking osg::Program "" id=2 contextID=0<br>
<br>
Program's vertex attrib binding 1, d<br>
<br>
<br>
glLinkProgram "" FAILED<br>
<br>
<br>
OpenGL extension '' is not supported.<br>
<br>
<br>
I gather this might be something to do with gl_ClipVertex but it's not clear what I can do.<br>
<br>
Thanks<br>
Andrew<br>
<br>
------------------<br>
Read this topic online here:<br>
<a href="http://forum.openscenegraph.org/viewtopic.php?p=75307#75307" rel="noreferrer" target="_blank">http://forum.openscenegraph.org/viewtopic.php?p=75307#75307</a><br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org" target="_blank">osg-users@lists.openscenegraph.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div style="text-align:center">Chris 'Xenon' Hanson, omo sanza lettere. Xenon@AlphaPixel.com <a href="http://www.alphapixel.com/" target="_blank">http://www.alphapixel.com/</a></div><div style="text-align:center">Training • Consulting • Contracting</div><div style="text-align:center">3D • Scene Graphs (Open Scene Graph/OSG) • OpenGL 2 • OpenGL 3 • OpenGL 4 • GLSL • OpenGL ES 1 • OpenGL ES 2 • OpenCL</div><div style="text-align:center"><span style="font-size:12.8px">Legal/IP •</span><span style="font-size:12.8px"> </span><span style="font-size:12.8px">Forensics •</span><span style="font-size:12.8px"> </span>Imaging <span style="font-size:12.8px">•</span><span style="font-size:12.8px"> </span><span style="font-size:12.8px">UAVs </span><span style="font-size:12.8px">• GIS • GPS • osgEarth • Terrain • Telemetry • Cryptography • LIDAR • Embedded • Mobile • iPhone/iPad/iOS • Android</span></div><div style="text-align:center"><a href="https://twitter.com/alphapixel" target="_blank">@alphapixel</a> <a href="http://facebook.com/alphapixel" target="_blank">facebook.com/alphapixel</a> (775) 623-PIXL [7495]<br></div></div></div></div></div></div>