nir/spirv: Rework function argument setup
authorJason Ekstrand <jason@jlekstrand.net>
Thu, 29 Jun 2017 17:33:40 +0000 (10:33 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 5 Jul 2017 22:26:56 +0000 (15:26 -0700)
commitab1939aea8ff10d2e8b7d579575068ec11f60030
tree3eb1ef905fe9ac9d0825a16b8041a20bd119c391
parent0bdc622d431ba15c8ef5ab2ef08790e2e7554eff
nir/spirv: Rework function argument setup

Now that we have proper pointer types, we can be more sensible about the
way we set up function arguments and deal with the two cases of pointer
vs. SSA parameters distinctly.

Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
src/compiler/spirv/spirv_to_nir.c
src/compiler/spirv/vtn_cfg.c
src/compiler/spirv/vtn_variables.c