Author Topic: NVIDIA Introducing New OpenGL SDK Samples  (Read 1565 times)

0 Members and 1 Guest are viewing this topic.

Stefan

  • Global Moderator
  • Hero Member

  • Offline
  • *****

  • 2885
    • View Profile
NVIDIA Introducing New OpenGL SDK Samples
« on: January 05, 2013, 04:34:09 PM »
Quote
Introducing New OpenGL SDK Samples

For anyone not following it, OpenGL has evolved a lot over the last few years. This isn’t to say that old favorites like glBitmap are gone, as full compatibility is still supported, but newer capabilities have come about that can make your code faster and easier to write. With all these changes, our older SDK structure wasn’t really keeping pace. We’ve heard the criticism on the staleness of the old SDK, so we’ve decided to reinvent the SDK as part of our blog posts. This means topical posts with source code all building off a common framework, as opposed to the large monolithic download of old.

I looked forth and back, but i found only Simple Tessellation Shader sample and that failed to run

Code: [Select]
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

nuninho1980

  • NewsPosters
  • Jr. Member

  • Offline
  • *

  • 80
    • View Profile
Re: NVIDIA Introducing New OpenGL SDK Samples
« Reply #1 on: January 07, 2013, 01:19:56 PM »
You got error because maybe driver 30x.xx/310.xx may have issue. Try 296.10WHQL to can run. ;)

Win 7 x64 SP1 with i5-2500K@Turbo Boost and My GTX 480 (296.10WHQL-HQ).

screenshots of "Simple Tessellation Shader":



-> I got ~1530 fps. :)
« Last Edit: January 07, 2013, 01:25:49 PM by nuninho1980 »