[Mesa-dev] [Bug 31284] [glsl2] fail to link shaders for uniform arrays in vertex and uniform shaders
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Nov 1 01:25:35 PDT 2010
https://bugs.freedesktop.org/show_bug.cgi?id=31284
zhao jian <jian.j.zhao at intel.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|mesa-dev at lists.freedesktop. |idr at freedesktop.org
|org |
--- Comment #2 from zhao jian <jian.j.zhao at intel.com> 2010-11-01 01:25:35 PDT ---
And the GLSL spec 1.20 and 1.40 all had a section of uniform saying this:
"The uniform qualifier can be used with any of the basic data types, or when
declaring a variable whose type is a structure, or an array of any of these.If
multiple shaders are linked together, then they will share a single global
uniform name space. Hence,the types and initializers of uniform variables with
the same name must match across all shaders that are linked into a single
executable. It is legal for some shaders to provide an initializer for a
particular uniform variable, while another shader does not, but all provided
initializers must be equal."
--
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