Pure Texture to Sampled Texture Transform
authort.jung <t.jung@gaijin.ru>
Tue, 25 Apr 2017 21:31:03 +0000 (23:31 +0200)
committert.jung <t.jung@gaijin.ru>
Mon, 29 May 2017 16:29:45 +0000 (18:29 +0200)
commitbaf570efa59d2a1bb3a0271bee0effd348436efd
treee2af5df98e35398ca22a1708e3fcee60abc40a3b
parentd6af18f621f9681eb32225b3c034b1aa8f72e8b3
Pure Texture to Sampled Texture Transform

Adds a transformation step to the post processing step.
Two modes are available:
1) keep
- Keeps samplers, textures and sampled textures as is
2) transform pure texture into sampled texture and remove pure samplers
- removes all pure samplers
- transforms all pure textures into its sampled counter part

Change-Id: If54972e8052961db66c23f4b7e719d363cf6edbd
Test/baseResults/spv.texture.sampler.transform.frag.out [new file with mode: 0644]
Test/spv.texture.sampler.transform.frag [new file with mode: 0644]
glslang/Include/Types.h
glslang/MachineIndependent/Intermediate.cpp
glslang/MachineIndependent/ShaderLang.cpp
glslang/MachineIndependent/localintermediate.h
glslang/Public/ShaderLang.h
gtests/Spv.FromFile.cpp
gtests/TestFixture.h