nir/spirv: Break variable creation out into a helper
authorJason Ekstrand <jason@jlekstrand.net>
Thu, 29 Jun 2017 17:33:32 +0000 (10:33 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 5 Jul 2017 22:26:53 +0000 (15:26 -0700)
commit4c21e6b7f8956cda80ba173ff2506ddbee13c7af
treeabd16a3107ee84d246e4978974ca3d9ae58d8efa
parent2e92d6a3929aec3bfbcec25dca771160db4133ee
nir/spirv: Break variable creation out into a helper

Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
src/compiler/spirv/vtn_variables.c