WIP: add other builtins to interstage IO
authorsteve-lunarg <steve_gh@khasekhemwy.net>
Sat, 7 Jan 2017 16:07:14 +0000 (09:07 -0700)
committersteve-lunarg <steve_gh@khasekhemwy.net>
Mon, 9 Jan 2017 20:58:05 +0000 (13:58 -0700)
commit46d5428422950702464ecf64a641d6925bb454ae
tree81667eb91d63cc946a8cb38057d3ae4244f819fa
parent5d89d4d48399d45fa1df3c1789d1335899d1e38d
WIP: add other builtins to interstage IO

(Still adding tests: do not commit)

This fixes PR #632 so that:

(a) The 4 PerVertex builtins are added to an interface block for all stages except fragment.

(b) Other builtin qualified variables are added as "loose" linkage members.

(c) Arrayness from the PerVertex builtins is moved to the PerVertex block.

(d) Sometimes, two PerVertex blocks are created, one for in, one for out (e.g, for some GS that
    both reads and writes a Position)
16 files changed:
Test/baseResults/hlsl.entry-in.frag.out
Test/baseResults/hlsl.gather.basic.dx10.vert.out
Test/baseResults/hlsl.getdimensions.dx10.vert.out
Test/baseResults/hlsl.load.basic.dx10.vert.out
Test/baseResults/hlsl.samplegrad.basic.dx10.vert.out
Test/baseResults/hlsl.samplelevel.basic.dx10.vert.out
Test/baseResults/hlsl.struct.frag.out
Test/baseResults/hlsl.struct.split-1.vert.out
Test/baseResults/hlsl.struct.split.array.geom.out
Test/baseResults/hlsl.struct.split.call.vert.out
Test/baseResults/hlsl.struct.split.nested.geom.out
Test/baseResults/hlsl.struct.split.trivial.geom.out
Test/baseResults/hlsl.struct.split.trivial.vert.out
Test/baseResults/hlsl.structarray.flatten.geom.out
glslang/Include/Types.h
hlsl/hlslParseHelper.cpp