HLSL: for split output structs, propagate indirection to builtin.
authorLoopDawg <sk_opengl@khasekhemwy.net>
Tue, 12 Dec 2017 23:21:22 +0000 (16:21 -0700)
committerLoopDawg <sk_opengl@khasekhemwy.net>
Tue, 12 Dec 2017 23:22:48 +0000 (16:22 -0700)
commit0cff51004db95d0b532c912775be5f1e88ccfdaf
tree91b50aa1968b0a6d3cc9c1121403fee49d9beb45
parente078059d06d9b5d0673e95be217dc43c605bf7d1
HLSL: for split output structs, propagate indirection to builtin.

Some stage (e.g, hull shaders) have arrayed builtin outputs (e.g, position).
When copying from the internal structure to the split form, it is necessary
to propagate that indirection to the actual arrayed outputs.  This was not
happening.

Addresses #1181
Test/baseResults/hlsl.hull.4.tesc.out
Test/baseResults/hlsl.hull.5.tesc.out
hlsl/hlslParseHelper.cpp