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.
This commit is contained in:
parent
02467d8d94
commit
0fe106afd2
5 changed files with 192 additions and 23 deletions
|
|
@ -235,6 +235,7 @@ INSTANTIATE_TEST_CASE_P(
|
|||
{"hlsl.tx.bracket.frag", "main"},
|
||||
{"hlsl.type.half.frag", "main"},
|
||||
{"hlsl.type.identifier.frag", "main"},
|
||||
{"hlsl.typeGraphCopy.vert", "main"},
|
||||
{"hlsl.typedef.frag", "PixelShaderFunction"},
|
||||
{"hlsl.whileLoop.frag", "PixelShaderFunction"},
|
||||
{"hlsl.void.frag", "PixelShaderFunction"},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue