SPV: Tighten up number of struct-types declared based on decoration.
authorJohn Kessenich <cepheus@frii.com>
Thu, 1 Sep 2016 23:05:23 +0000 (17:05 -0600)
committerJohn Kessenich <cepheus@frii.com>
Thu, 1 Sep 2016 23:05:23 +0000 (17:05 -0600)
commitf2b7f3353b7f3ca633bac3e88ab2e520d258b17f
tree9220f7a5fe67876a7c4eeb54844891144c75d06a
parent5e56423046b470d7cf3bdd8b58339a169d9524f6
SPV: Tighten up number of struct-types declared based on decoration.

Takes some pressure off of issue #304.
Structures don't inherit locations and then explicitly decorate
members with them, so removed this reason to have another instance
of a structure type.
61 files changed:
SPIRV/GlslangToSpv.cpp
SPIRV/SpvBuilder.h
Test/baseResults/hlsl.calculatelod.dx10.frag.out
Test/baseResults/hlsl.constructexpr.frag.out
Test/baseResults/hlsl.gather.array.dx10.frag.out
Test/baseResults/hlsl.gather.basic.dx10.frag.out
Test/baseResults/hlsl.gather.basic.dx10.vert.out
Test/baseResults/hlsl.gather.offset.dx10.frag.out
Test/baseResults/hlsl.gather.offsetarray.dx10.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.getdimensions.dx10.frag.out
Test/baseResults/hlsl.getdimensions.dx10.vert.out
Test/baseResults/hlsl.init2.frag.out
Test/baseResults/hlsl.inoutquals.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.offset.dx10.frag.out
Test/baseResults/hlsl.load.offsetarray.dx10.frag.out
Test/baseResults/hlsl.numericsuffixes.frag.out
Test/baseResults/hlsl.pp.line.frag.out
Test/baseResults/hlsl.precise.frag.out
Test/baseResults/hlsl.promotions.frag.out
Test/baseResults/hlsl.sample.array.dx10.frag.out
Test/baseResults/hlsl.sample.basic.dx10.frag.out
Test/baseResults/hlsl.sample.offset.dx10.frag.out
Test/baseResults/hlsl.sample.offsetarray.dx10.frag.out
Test/baseResults/hlsl.samplebias.array.dx10.frag.out
Test/baseResults/hlsl.samplebias.basic.dx10.frag.out
Test/baseResults/hlsl.samplebias.offset.dx10.frag.out
Test/baseResults/hlsl.samplebias.offsetarray.dx10.frag.out
Test/baseResults/hlsl.samplecmp.array.dx10.frag.out
Test/baseResults/hlsl.samplecmp.basic.dx10.frag.out
Test/baseResults/hlsl.samplecmp.offset.dx10.frag.out
Test/baseResults/hlsl.samplecmp.offsetarray.dx10.frag.out
Test/baseResults/hlsl.samplecmplevelzero.array.dx10.frag.out
Test/baseResults/hlsl.samplecmplevelzero.basic.dx10.frag.out
Test/baseResults/hlsl.samplecmplevelzero.offset.dx10.frag.out
Test/baseResults/hlsl.samplecmplevelzero.offsetarray.dx10.frag.out
Test/baseResults/hlsl.samplegrad.array.dx10.frag.out
Test/baseResults/hlsl.samplegrad.basic.dx10.frag.out
Test/baseResults/hlsl.samplegrad.basic.dx10.vert.out
Test/baseResults/hlsl.samplegrad.offset.dx10.frag.out
Test/baseResults/hlsl.samplegrad.offsetarray.dx10.frag.out
Test/baseResults/hlsl.samplelevel.array.dx10.frag.out
Test/baseResults/hlsl.samplelevel.basic.dx10.frag.out
Test/baseResults/hlsl.samplelevel.basic.dx10.vert.out
Test/baseResults/hlsl.samplelevel.offset.dx10.frag.out
Test/baseResults/hlsl.samplelevel.offsetarray.dx10.frag.out
Test/baseResults/hlsl.semicolons.frag.out
Test/baseResults/hlsl.stringtoken.frag.out
Test/baseResults/remap.hlsl.sample.basic.everything.frag.out
Test/baseResults/remap.hlsl.sample.basic.none.frag.out
Test/baseResults/remap.hlsl.sample.basic.strip.frag.out
Test/baseResults/spv.450.tesc.out
glslang/Include/revision.h