PDA

View Full Version : Shader link error after installing latest NVidia Quadro driver (311.35)



SasMaster
04-08-2013, 07:47 AM
I just installed the latest NVidia driver for Quadro 4000 cards.From this moment any of my shaders linking fails with shader link error.
It is worth noting I am using OpenGL 4.2 with separate shader objects.My OS is Windows7 64bit .
Before the update I had 309 version of the driver.
Now I reverted to the version 295.x and it works again.
Anyone knows something about it.Can it be driver bug?How is it submitted to NVidia dudes?

menzel
04-08-2013, 09:03 AM
Hello,

it might be a bug in the driver but it also might be a bug in your shaders, e.g. they are not conform to the specs but the old drivers didn't catch your bug. Without looking at the shaders and the drivers error message we can't tell where the problem is.

SasMaster
04-08-2013, 09:13 AM
Here is a simple pass through vertex shader that fails:

#version 420 core


layout(location = 0) in vec4 position;
layout(location = 1) in vec2 uvs;
layout(location = 2) in vec3 normal;








smooth out vec2 uvsOut;


void main()
{



uvsOut=uvs;


gl_Position = position;

}