nir/spirv: Add an actual variable struct to spirv_to_nir
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 21 Jan 2016 10:09:38 +0000 (02:09 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Fri, 22 Jan 2016 00:20:39 +0000 (16:20 -0800)
commitb298743d7b8e12aeb732f0d9ae3b723e9ea01e9d
treed04042f0c50d57169cb4cf8a2af48b6f14776c43
parent2892693d56c5409721d1636627257e091fd196ec
nir/spirv: Add an actual variable struct to spirv_to_nir

This allows us, among other things, to do structure splitting on-the-fly to
more correctly handle input/output structs.
src/glsl/nir/spirv/spirv_to_nir.c
src/glsl/nir/spirv/vtn_cfg.c
src/glsl/nir/spirv/vtn_private.h
src/glsl/nir/spirv/vtn_variables.c