spirv: Use NIR per-member splitting
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 22 Mar 2018 00:30:22 +0000 (17:30 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Sat, 23 Jun 2018 03:15:57 +0000 (20:15 -0700)
commitb0c643d8f579a3e1e45a08f6d9de099f2c45898b
treeac8542d300020594bb08acf15b2d4dbf629208c2
parent2100c2f3a25d402f3788b3049eb2c1ee3a01b42e
spirv: Use NIR per-member splitting

Before, we were doing structure splitting in spirv_to_nir.
Unfortunately, this doesn't really work when you think about passing
struct pointers into functions.  Doing it later in NIR is a much better
plan.

Acked-by: Rob Clark <robdclark@gmail.com>
Acked-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Acked-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/amd/vulkan/radv_shader.c
src/compiler/spirv/vtn_private.h
src/compiler/spirv/vtn_variables.c
src/intel/vulkan/anv_pipeline.c