nir: Add a ssa_dest_init_for_type helper
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 22 Aug 2017 21:08:32 +0000 (14:08 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 7 Nov 2017 18:37:52 +0000 (10:37 -0800)
commitad127afcfd5e7d6fb98e7cf2ae02333249d31fb2
treee62fb9354c95e2bcbf234dd06739ffd9f4b477e2
parent28da82f9783091cb3e79586962f98a5bc165cff8
nir: Add a ssa_dest_init_for_type helper

This would be useful a number of places

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
src/compiler/nir/nir.h