[Mesa-dev] [Bug 54142] Mesa: User error: GL_INVALID_OPERATION

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Aug 28 00:20:53 PDT 2012


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

--- Comment #3 from Laurent carlier <lordheavym at gmail.com> 2012-08-28 07:20:53 UTC ---
"A varying variable must be written on a vertex shader, where we compute the
value of the variable for each vertex. In the fragment shader the variable,
whose value results from an interpolation of the vertex values computed
previously, can only be read."

lightDir is a varying that was write in the vertex shader, so it can only be
read in the fragment shader

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the mesa-dev mailing list