Tests: Add a set of gtest-file-based HLSL tests.

This commit is contained in:
John Kessenich
2016-05-16 17:39:50 -06:00
parent e0a24778dd
commit e5f29393da
13 changed files with 537 additions and 1 deletions

View File

@@ -71,7 +71,12 @@ TEST_P(HlslCompileTest, FromFile)
INSTANTIATE_TEST_CASE_P(
ToSpirv, HlslCompileTest,
::testing::ValuesIn(std::vector<FileNameEntryPointPair>{
{"hlsl.frag", "PixelShaderFunction"},
{"hlsl.assoc.frag", "PixelShaderFunction"},
{"hlsl.float4.frag", "PixelShaderFunction"},
{"hlsl.max.frag", "PixelShaderFunction"},
{"hlsl.precedence.frag", "PixelShaderFunction"},
{"hlsl.precedence2.frag", "PixelShaderFunction"},
{"hlsl.sin.frag", "PixelShaderFunction"},
}),
FileNameAsCustomTestSuffix
);