nir: add more helpers to nir_types.cpp
authorTimothy Arceri <timothy.arceri@collabora.com>
Tue, 25 Oct 2016 06:04:31 +0000 (17:04 +1100)
committerTimothy Arceri <timothy.arceri@collabora.com>
Thu, 10 Nov 2016 22:17:07 +0000 (09:17 +1100)
commitcd52b4fb161bf038b5279144c7f6d8d84729a940
tree6c945da99c5e93f0286acddfd7aae6ed60ff8f79
parentad9d4a4f8d57725305ab767551bf6a89b69c11e1
nir: add more helpers to nir_types.cpp

These new helpers will be used in nir_gather_info.c in a following patch.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/compiler/nir_types.cpp
src/compiler/nir_types.h