spirv: Refactor vtn_push_ssa
authorJason Ekstrand <jason@jlekstrand.net>
Fri, 29 May 2020 20:44:10 +0000 (15:44 -0500)
committerJason Ekstrand <jason@jlekstrand.net>
Fri, 24 Jul 2020 03:43:21 +0000 (22:43 -0500)
commitdbb4a24413d8f3af246a2ef7530ef036613ea1e4
tree8513ecb18903ae0a91f8fbb970eb2a0171f98bab
parent8be9f2a4f696beb13434f7bf4c0460f1e90ddd08
spirv: Refactor vtn_push_ssa

We rename it to vtn_push_ssa_value, move it to spirv_to_nir, and remove
the unnecessary type parameter.

Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5278>
src/compiler/spirv/spirv_to_nir.c
src/compiler/spirv/vtn_cfg.c
src/compiler/spirv/vtn_private.h
src/compiler/spirv/vtn_variables.c