spirv: Add a vtn_type field to all vtn_values
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 6 Dec 2017 05:39:51 +0000 (21:39 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 12 Dec 2017 06:28:34 +0000 (22:28 -0800)
commit2c84b49ddff2c03a9a1f2d1e132d4002fd7c070b
tree360bcae6f82abadabd1ce3ad3604f39275b53a6e
parentba4bb0838bd5712a45c4b37cb1562cc815e6e3c1
spirv: Add a vtn_type field to all vtn_values

At the moment, this just lets us drop the const_type for constants and
unify things a bit.  Eventually, we will use this to store the types of
all SPIR-V SSA values.

Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/compiler/spirv/spirv_to_nir.c
src/compiler/spirv/vtn_private.h