HLSL: Allow use of $Global members in between function calls.
authorJohn Kessenich <cepheus@frii.com>
Thu, 23 Mar 2017 05:21:34 +0000 (23:21 -0600)
committerJohn Kessenich <cepheus@frii.com>
Thu, 23 Mar 2017 05:21:34 +0000 (23:21 -0600)
commit000c818efb6bf208b27eb22d6f3f20a18007c85d
tree50fb442652082411f4b3c9ee56dedb687d85f0dc
parent7a41f96d10ca8ab8859a431d7ecd0f1070d80b54
HLSL: Allow use of $Global members in between function calls.

This allows global initializers to use $Global members.
53 files changed:
Test/baseResults/hlsl.amend.frag.out
Test/baseResults/hlsl.array.flatten.frag.out
Test/baseResults/hlsl.array.frag.out
Test/baseResults/hlsl.array.multidim.frag.out
Test/baseResults/hlsl.attribute.expression.comp.out
Test/baseResults/hlsl.comparison.vec.frag.out
Test/baseResults/hlsl.float4.frag.out
Test/baseResults/hlsl.gatherRGBA.array.dx10.frag.out
Test/baseResults/hlsl.gatherRGBA.basic.dx10.frag.out
Test/baseResults/hlsl.gatherRGBA.offset.dx10.frag.out
Test/baseResults/hlsl.gatherRGBA.offsetarray.dx10.frag.out
Test/baseResults/hlsl.gathercmpRGBA.offset.dx10.frag.out
Test/baseResults/hlsl.getdimensions.rw.dx10.frag.out
Test/baseResults/hlsl.intrinsics.d3dcolortoubyte4.frag.out
Test/baseResults/hlsl.intrinsics.promote.down.frag.out
Test/baseResults/hlsl.intrinsics.promote.frag.out
Test/baseResults/hlsl.intrinsics.promote.outputs.frag.out
Test/baseResults/hlsl.load.2dms.dx10.frag.out
Test/baseResults/hlsl.load.array.dx10.frag.out
Test/baseResults/hlsl.load.basic.dx10.frag.out
Test/baseResults/hlsl.load.basic.dx10.vert.out
Test/baseResults/hlsl.load.buffer.dx10.frag.out
Test/baseResults/hlsl.load.buffer.float.dx10.frag.out
Test/baseResults/hlsl.load.offset.dx10.frag.out
Test/baseResults/hlsl.load.offsetarray.dx10.frag.out
Test/baseResults/hlsl.load.rwbuffer.dx10.frag.out
Test/baseResults/hlsl.load.rwtexture.array.dx10.frag.out
Test/baseResults/hlsl.load.rwtexture.dx10.frag.out
Test/baseResults/hlsl.logical.binary.frag.out
Test/baseResults/hlsl.logical.binary.vec.frag.out
Test/baseResults/hlsl.logical.unary.frag.out
Test/baseResults/hlsl.matType.frag.out
Test/baseResults/hlsl.matrixindex.frag.out
Test/baseResults/hlsl.mintypes.frag.out
Test/baseResults/hlsl.params.default.frag.out
Test/baseResults/hlsl.params.default.negative.frag.out
Test/baseResults/hlsl.promote.binary.frag.out
Test/baseResults/hlsl.promotions.frag.out
Test/baseResults/hlsl.rw.atomics.frag.out
Test/baseResults/hlsl.rw.bracket.frag.out
Test/baseResults/hlsl.rw.scalar.bracket.frag.out
Test/baseResults/hlsl.rw.vec2.bracket.frag.out
Test/baseResults/hlsl.stringtoken.frag.out
Test/baseResults/hlsl.struct.frag.out
Test/baseResults/hlsl.structIoFourWay.frag.out
Test/baseResults/hlsl.tx.bracket.frag.out
Test/baseResults/hlsl.typeGraphCopy.vert.out
Test/hlsl.amend.frag
glslang/Include/revision.h
glslang/MachineIndependent/ParseContextBase.cpp
glslang/MachineIndependent/ParseHelper.h
hlsl/hlslParseHelper.cpp
hlsl/hlslParseHelper.h