nir: use num_components wrappers in print/validate.
authorDave Airlie <airlied@redhat.com>
Tue, 15 May 2018 01:11:12 +0000 (11:11 +1000)
committerDave Airlie <airlied@redhat.com>
Sun, 3 Jun 2018 19:58:42 +0000 (05:58 +1000)
commit67eccd6aa2b3fcc79a232479a58a0f52b9980001
treecd41a0003b34a046726fa2e20dd84517d5aeef0a
parentbad7332f7c6c2e5922ddca854a7b497b22c31682
nir: use num_components wrappers in print/validate.

These wrappers were introduces, so start using them.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/compiler/nir/nir_print.c
src/compiler/nir/nir_validate.c