glsl: initialise record array count to 1
authorTimothy Arceri <t_arceri@yahoo.com.au>
Thu, 15 Oct 2015 03:10:35 +0000 (14:10 +1100)
committerTimothy Arceri <t_arceri@yahoo.com.au>
Fri, 16 Oct 2015 21:50:40 +0000 (08:50 +1100)
commit698cdbf49207c30bc2ac38e2f16e531dd3a54db3
tree0c31064fb1d509a42ad6f864690c54dfcd793388
parent3c87377d0b0d07249ba94d6cb22a8b324bb06ba6
glsl: initialise record array count to 1

This was only being done in one of the two process methods.

Fixes an issue with samplers using the array size of a previous record.

Tested-by: Marek Olšák <marek.olsak@amd.com>
Cc: Jason Ekstrand <jason@jlekstrand.net>
src/glsl/link_uniforms.cpp