nir: add array length field
authorRob Clark <robclark@freedesktop.org>
Fri, 6 Nov 2015 16:35:21 +0000 (11:35 -0500)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 18 Nov 2015 20:28:32 +0000 (12:28 -0800)
commitd27ae2cf8cd548fe822ae9bcf11ead1dadfed744
tree6fc424e8adb72ec3f06d0b366d84e96cf59110b9
parent624ec66653e2ce0abc6f4021111cf067b70741c1
nir: add array length field

This will simplify things somewhat in clone.

Signed-off-by: Rob Clark <robclark@freedesktop.org>
Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
src/glsl/nir/glsl_to_nir.cpp
src/glsl/nir/nir.h