nir: remove wrong assertion in print_var_decl()
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 25 Jul 2018 12:30:47 +0000 (14:30 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 26 Jul 2018 06:57:38 +0000 (08:57 +0200)
commit6465bf0015662a164b71fd950a883e9723eb2b94
treee6e97bb0306c648b14b9a96ac715103cf7cb68bb
parentce8e6b970b5bb765630bfffce67545b63542b78a
nir: remove wrong assertion in print_var_decl()

This breaks printing input/output variables with more than
4 components like mat4.

Fixes: 1beef89ad8 ("nir: prepare for bumping up max components to 16")
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/compiler/nir/nir_print.c