HLSL: Implement support for RT/Viewport output from VS
authorArseny Kapoulkine <arseny.kapoulkine@gmail.com>
Thu, 14 Dec 2017 00:08:20 +0000 (16:08 -0800)
committerArseny Kapoulkine <arseny.kapoulkine@gmail.com>
Thu, 14 Dec 2017 00:08:20 +0000 (16:08 -0800)
commitc92860e288ac69dad7717bbbf83484e97b25c9bd
treec9724b7d30d4eff898fa69bf838ddc4146a4e7d8
parente078059d06d9b5d0673e95be217dc43c605bf7d1
HLSL: Implement support for RT/Viewport output from VS

In DX10/DX11 you can only output RT/Viewport indices from GS; however,
DX11.4/DX12 add support for outputting these from VS as well.

This is supported by Vulkan if the relevant extension is available, and
by MSL and by MSL (which you can cross-compile to via SPIRV-Cross).
hlsl/hlslParseHelper.cpp