https://bugs.freedesktop.org/show_bug.cgi?id=32000

Ian Romanick <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME

--- Comment #1 from Ian Romanick <[email protected]> 2011-06-09 11:24:21 PDT 
---
The shader code incorrectly uses GLSL 1.30 'in' and 'out' for varyings.  In
GLSL 1.20 and earlier, you must use 'varying'.  Our compiler currently
generates the following error:

Vertex shader errors / warnings in file VertexShader.glsl:
0:3(21): error: `out' qualifier in declaration of `ShadowCoord' only valid for
function parameters in GLSL 1.20.

NVIDIA is very sloppy and lets all kinds of invalid code through.

Changing 'in' and 'out' to 'varying' makes this demo produce what I believe are
correct results on the current 7.10 branch (which will soon be the 7.10.3
release) and on master.  It seems unlikely that there will ever be another 7.9
release.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to