nir: Pull nir_lower_io's load_op selection into a helper function.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 12 Aug 2015 17:57:31 +0000 (10:57 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 20 Aug 2015 02:29:22 +0000 (19:29 -0700)
commited2afec3fc2210ee737216981a41df8a396b11f6
tree3a34efa54b429ab31fe88d5536da094370524c51
parentffe6c6ad5f719dedd1b6b95e8590e3f20b23d340
nir: Pull nir_lower_io's load_op selection into a helper function.

Makes the function a bit smaller.

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