jeske / SimpleScene

Simple 3D scene manager in C# and OpenTK / OpenGL
https://github.com/jeske/SimpleScene/wiki
Other
171 stars 69 forks source link

Shader want compile with NVIDIA GPU #7

Open enriko-riba opened 9 years ago

enriko-riba commented 9 years ago

Have a laptop with Intel integrated HD GPU and NVIDIA GTX850M. When switching to NVIDIA GPU the application throws an GL Error: InvalidOperation.

GL Version = 4.4.0
GL Shader Version = 4.40 NVIDIA via Cg compiler
-- ss4_vertex.glsl --

-- ss4_fragment.glsl --

-- ss4_geometry.glsl --

Vertex info
-----------
0(38) : error C5025: lvalue in assignment too complex

Geometry info
-------------
0(102) : error C5025: lvalue in assignment too complex
0(102) : error C5025: lvalue in assignment too complex
0(102) : error C5025: lvalue in assignment too complex
jeske commented 9 years ago

This sounds like either a driver bug or hardwsre limitstion.

Are you running the latest drivers from nvidia?