spirv: wrap push ssa/pointer values
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Mon, 1 Jul 2019 11:57:54 +0000 (14:57 +0300)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Fri, 26 Jul 2019 14:09:55 +0000 (14:09 +0000)
commit86b53770e1ea6e79452ccc97bab829ad58ffc5fd
tree441f97e2885e2c3a43435e3b8fa94eebc1fc4afe
parent8c330728f3094f2c836e022e57f003d0c82953ef
spirv: wrap push ssa/pointer values

This refactor allows for common code to apply decoration on all
ssa/pointer values. In particular this will allow to propagage access
qualifiers.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Suggested-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
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