[Mesa-dev] [PATCH] docs: Expand ARB_gpu_shader5 to describe status of individual features

Chris Forbes chrisf at ijw.co.nz
Wed Apr 9 01:11:37 PDT 2014


On Wed, Apr 9, 2014 at 7:23 AM, Ian Romanick <idr at 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."


More information about the mesa-dev mailing list