nir: Implement ir_unop_get_buffer_size
authorSamuel Iglesias Gonsalvez <siglesias@igalia.com>
Mon, 1 Jun 2015 07:44:55 +0000 (09:44 +0200)
committerSamuel Iglesias Gonsalvez <siglesias@igalia.com>
Fri, 25 Sep 2015 06:39:21 +0000 (08:39 +0200)
commit003ce30e36b1a0757053a1f1407cdd314a32db10
tree4423be2e82a4d1f1258b4f620ccd227d488cb133
parent750c694474776fd545262aaf3190ccd92d6bb0ec
nir: Implement ir_unop_get_buffer_size

This is how backends provide the buffer size required to compute
the size of unsized arrays in the previous patch

Signed-off-by: Samuel Iglesias Gonsalvez <siglesias@igalia.com>
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
src/glsl/nir/glsl_to_nir.cpp
src/glsl/nir/nir_intrinsics.h