HLSL: Flatten all input/output structs, regardless of stage.
authorJohn Kessenich <cepheus@frii.com>
Fri, 16 Sep 2016 07:52:14 +0000 (01:52 -0600)
committerJohn Kessenich <cepheus@frii.com>
Fri, 16 Sep 2016 07:52:14 +0000 (01:52 -0600)
commitf8e494c18cd58447ddec60a7574ce7ca71791913
tree65bd097fb6604be0f3dcf24b2b5c61e9f2a20069
parent7dc630f3da4ddf9895e4daf048cec04ec6423aac
HLSL: Flatten all input/output structs, regardless of stage.

This is needed because an output structure can contain embedded built-ins
(like SV_Position) which should not get locations assigned.
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
glslang/Include/revision.h
hlsl/hlslParseHelper.cpp