[Mesa-stable] [PATCH 1/2] glsl: Allow dynamic sampler array indexing with GLSL ES < 3.00

Emil Velikov emil.l.velikov at gmail.com
Wed Jun 3 04:10:40 PDT 2015


Hi Tapani,

On 19 May 2015 at 13:01, Tapani Pälli <tapani.palli at intel.com> wrote:
> Dynamic indexing of sampler arrays is prohibited by GLSL ES 3.00.
> Earlier versions allow 'constant-index-expression' indexing, where
> index can contain a loop induction variable.
>
> Patch allows dynamic indexing for sampler arrays when GLSL ES < 3.00.
> This change makes 'sampler-array-index.frag' parser test in Piglit
> pass + fishgl.com works when running Chrome on OpenGL ES 2.0 backend
>
> v2: small change and some more commit message (Tapani)
> v3: refactor checks to make it more readable (Ian Romanick)
>
> Signed-off-by: Tapani Pälli <tapani.palli at intel.com>
> Signed-off-by: Kalyan Kondapally <kalyan.kondapally at intel.com>
> Cc: "10.5" and "10.6" <mesa-stable at lists.freedesktop.org>
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=84225

Just a friendly reminder that this hasn't landed in master and won't
be featuring in the stable branches (yet). Seems like this patch fell
through the cracks, although let us know if that's not the case.

Thanks
Emil


More information about the mesa-stable mailing list