spirv: Add a vtn_push_nir_ssa helper
authorJason Ekstrand <jason@jlekstrand.net>
Wed, 27 May 2020 22:49:47 +0000 (17:49 -0500)
committerJason Ekstrand <jason@jlekstrand.net>
Fri, 24 Jul 2020 03:43:21 +0000 (22:43 -0500)
commitd8eb6f2499c66e26d7312f59dc052b9f416cc486
tree56b2e3700a0486723a21496ff41d3c51fe779be9
parentaaf1f342152707975cab4accfd91af1c12aafab1
spirv: Add a vtn_push_nir_ssa helper

This makes it easy to write a simple NIR SSA value

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_alu.c
src/compiler/spirv/vtn_glsl450.c
src/compiler/spirv/vtn_opencl.c
src/compiler/spirv/vtn_private.h
src/compiler/spirv/vtn_variables.c