Hi,

Mesa's ast_to_hir.cpp does a check like:

  state->check_version(120, 0, &initializer_loc,
                           "cannot initialize uniforms");

i.e. it does not allow uniform initializers on GLSL ES 3.00.

Upon my reading of the spec, I can't find any place where that would be
disallowed. ES 3.00 seems to be based on GLSL 3.3, with a bunch of stuff
removed and added. Uniform initializers aren't listed in the "removed"
section (spec 3.00.4, section 1.1.4). So maybe the check should be changed
to allow 300 in the ES min version?



--
Aras Pranckevičius
work: http://unity3d.com
home: http://aras-p.info
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to