Fix treatment of array input/output variables in reflection
authorbaldurk <baldurk@baldurk.org>
Mon, 11 Feb 2019 16:39:12 +0000 (16:39 +0000)
committerbaldurk <baldurk@baldurk.org>
Mon, 11 Feb 2019 16:39:12 +0000 (16:39 +0000)
commit879562b76696d6e61443d047b399997d0dba3567
tree6bee9e9264e80ffc03ba9a2f55de519d2b9e31c9
parent05d12a9461dd0a76053bdd42f062a37a10d56afb
Fix treatment of array input/output variables in reflection

* Non-block arrays should not be ignored when exploding types.
* When not exploding, set the array size correctly on each item.
Test/baseResults/hlsl.automap.frag.out
Test/baseResults/hlsl.reflection.binding.frag.out
Test/baseResults/hlsl.reflection.vert.out
Test/baseResults/hlsl.shift.per-set.frag.out
Test/baseResults/reflection.linked.out
Test/baseResults/reflection.options.vert.out
Test/baseResults/reflection.vert.out
Test/reflection.options.vert
Test/reflection.vert
glslang/MachineIndependent/reflection.cpp