Add amend ability for anonymous blocks, so they can grow between function bodies.

This commit is contained in:
John Kessenich
2016-09-29 23:58:30 -06:00
parent 16738a3632
commit df98cc26d5
7 changed files with 298 additions and 34 deletions

View File

@@ -80,6 +80,7 @@ TEST_P(HlslCompileAndFlattenTest, FromFile)
INSTANTIATE_TEST_CASE_P(
ToSpirv, HlslCompileTest,
::testing::ValuesIn(std::vector<FileNameEntryPointPair>{
{"hlsl.amend.frag", "f1"},
{"hlsl.array.frag", "PixelShaderFunction"},
{"hlsl.array.implicit-size.frag", "PixelShaderFunction"},
{"hlsl.assoc.frag", "PixelShaderFunction"},