AST: Have type deepCopy() preserve type graphs as graphs.
authorJohn Kessenich <cepheus@frii.com>
Wed, 1 Feb 2017 20:14:03 +0000 (13:14 -0700)
committerJohn Kessenich <cepheus@frii.com>
Tue, 7 Feb 2017 05:58:32 +0000 (22:58 -0700)
commit0fe106afd2aba4865391c4738d7141560e210cb6
tree766fd6acdcf9d8bb3f57f48bb65761e4af4eea7f
parent02467d8d94c58d3cf03166c5fd6e92f7ec9cab22
AST: Have type deepCopy() preserve type graphs as graphs.

Previously, a type graph would turn into a type tree. That is,
a deep node that is shared would have multiple copies made.

This is important when creating IO and non-IO versions of deep types.
Test/baseResults/hlsl.typeGraphCopy.vert.out [new file with mode: 0755]
Test/hlsl.typeGraphCopy.vert [new file with mode: 0644]
glslang/Include/Types.h
glslang/Include/revision.h
gtests/Hlsl.FromFile.cpp