Re: [osg-users] Geometry shader based apps/examples have shader compile failures...

2015-07-27 Thread Mark Pai
Hello Sebastian, Thanks a lot for sending help. I installed the shader analyzer and started testing my geometry shader. I found that if your code has a line comment right before the code, as below, then the compile fails. // some comment out vec2 uv; But, if you separate the line comment and

Re: [osg-users] Geometry shader based apps/examples have shader compile failures...

2015-07-24 Thread Sebastian Messerschmidt
Hi Mark, If a shader gets compiled correcty has nothing to do with osg. You probably updated your driver recently. NVidia decided to follow the GLSL grammar more strictly. For instance code like float x = vec2(1) is not working anymore, since implicit conversion of types is not allowed in

[osg-users] Geometry shader based apps/examples have shader compile failures...

2015-07-23 Thread Mark Pai
Hello, I am using OSG ver 3.4.0-Rc1 under Window 8.1, Visual Studio 2012 Win64. NVidia laptop driver Ver: 353.30. Of-late, I started noticing strange geometry shader compile failures with applications that worked perfectly (in 3.2) after I switched to osg 3.4.0-rc1. First-of, my own