spirv: Pass SSA values through functions
authorJason Ekstrand <jason.ekstrand@intel.com>
Sat, 22 Sep 2018 14:46:26 +0000 (09:46 -0500)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 30 Oct 2018 16:22:44 +0000 (11:22 -0500)
commita45b6fb45246f6b8e2b4a06977f199cc77452289
tree81c01bdc361fae16b539599b09781b4175cd0939
parentbfe0e3291302f4a8bf2f9b401a07f6d5ade19d15
spirv: Pass SSA values through functions

Previously, we would create temporary variables and fill them out.
Instead, we create as many function parameters as we need and pass them
through as SSA defs.

Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
src/compiler/spirv/vtn_cfg.c