nir: Fix copy and pasted error message in nir_validate.
authorKenneth Graunke <kenneth@whitecape.org>
Sat, 28 Mar 2015 01:22:20 +0000 (18:22 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Sat, 28 Mar 2015 16:36:46 +0000 (09:36 -0700)
commit72b06fb08e40907cdf94d4f390f53f42240a4345
tree8a48cefe39895410186d5ae6496b83a8a9af0961
parent31dc63d5ca090fed3f1adcd4fd0db2f1f7aa19f7
nir: Fix copy and pasted error message in nir_validate.

These are nir_cf_nodes, not ALU instructions.
Also, use unreachable() to preempt said review feedback.

v2: Do it right (thanks Ilia).

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
src/glsl/nir/nir_validate.c