nir: Use dest.ssa.num_components rather than intrin->num_components.
authorKenneth Graunke <kenneth@whitecape.org>
Sat, 16 Jul 2016 00:53:13 +0000 (17:53 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Sat, 16 Jul 2016 02:42:43 +0000 (19:42 -0700)
commitaa6f60f844f3834fd89d35d8bfe6aa88a288d4fe
tree345ea37f0792785954910eab94228bc33adbc099
parentda3d4a4c564813487f6e31f6e90efb797a713152
nir: Use dest.ssa.num_components rather than intrin->num_components.

I recently refactored this to share code between load and atomic
lowering.  loads used intrin->num_components, while atomics used
intrin->dest.ssa.num_components.  They should be equivalent, but
Jason wanted me to use the latter.  I missed applying his review.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
src/compiler/nir/nir_lower_io.c