Simple Tessellation Shader (SDK Sample)

This thread is for comments/questions related to the Simple Tessellation Sample blog post on the Developer Zone (https://developer.nvidia.com/content/opengl-sdk-simple-tessellation-shader)

Sample fails on launch:

C:\Users\someone\Desktop\simple_tessellation_shader\simple_tessellation_shader>s
imple_tessellation_shader.exe
GL version 4.3.0
Supports glsl include
Compiling vertex shader
Compiling tessellation control shader
Tessellation control info

0(22) : error C7593: Builtin block member gl_Position not found in redeclaration
of out gl_PerVertex
Compiling tessellation evaluation shader for plane
Tessellation evaluation info

0(25) : error C7593: Builtin block member gl_Position not found in redeclaration
of out gl_PerVertex
Compiling tessellation evaluation shader for torus
Tessellation evaluation info

0(21) : error C7593: Builtin block member gl_Position not found in redeclaration
of out gl_PerVertex
Compiling fragment shader
Failed to compile all shaders, exitting

Win7 x64 EN
Quadro K5000
drivers version 370.10

Thanks for alerting me. I’ll have a fix posted shortly.

I believe the bug you are encountering is due to a driver fix. We recently fixed a bug where the driver incorrectly accepted built-ins without redeclaration.

Yup, I have the same issue on a 680m gpu.

Updated drivers to ODE 310.90. Issue is still there :(

Win x64 EN
Quadro K5000
ODE 310.90

Bump

Bump again, two month passed…

Here is a fix since nvidia doesn’t care to post one…

http://www.geeks3d.com/20130106/nvidia-updates-its-opengl-sdk/