nir/spirv: Refactor vtn_block_load
authorJason Ekstrand <jason.ekstrand@intel.com>
Sat, 14 Nov 2015 05:31:58 +0000 (21:31 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Sat, 14 Nov 2015 05:32:00 +0000 (21:32 -0800)
commitc68e28d7663e8cf94c3587d3043b958386be6fec
tree17fdf068a56b84a71f6203bb38933469672187a9
parent99494b96f07f55f264aa9a33990cc2eff83ba8d1
nir/spirv: Refactor vtn_block_load

We pull the offset calculations out into their own function so we can
re-use it for stores.
src/glsl/nir/spirv_to_nir.c