On Wed, Apr 9, 2014 at 7:23 AM, Ian Romanick <i...@freedesktop.org> wrote:
> I believe UBO array indices are also dynamically uniform. I was surprised to find this when building the list too, but I believe it's unrestricted. The GLSL 4.0 spec, 4.3.7 p43 (bottom of) says: "Any integral expression can be used to index a uniform block array." The corresponding language for arrays of samplers is: "...a dynamically uniform integral expression, otherwise results are undefined." _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev