<div dir="ltr">Hi,<br><br>Mesa's ast_to_hir.cpp does a check like:<br><br> state->check_version(120, 0, &initializer_loc,<br> "cannot initialize uniforms");<br><br>i.e. it does not allow uniform initializers on GLSL ES 3.00.<br>
<br>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?<br>
<br><br><br>--<br>Aras Pranckevičius<br>work: <a href="http://unity3d.com">http://unity3d.com</a><br>home: <a href="http://aras-p.info">http://aras-p.info</a><br><div><br></div></div>