Don't use roundEven() to implement round() in DX9 compatibility mode

This commit is contained in:
rdb
2020-11-05 17:53:38 +01:00
parent a5be11bd8b
commit 589aaff11c
7 changed files with 145 additions and 1 deletions

View File

@@ -313,6 +313,7 @@ INSTANTIATE_TEST_SUITE_P(
{"hlsl.promote.binary.frag", "main"},
{"hlsl.promote.vec1.frag", "main"},
{"hlsl.promotions.frag", "main"},
{"hlsl.round.dx10.frag", "main"},
{"hlsl.rw.atomics.frag", "main"},
{"hlsl.rw.bracket.frag", "main"},
{"hlsl.rw.register.frag", "main"},
@@ -490,6 +491,7 @@ INSTANTIATE_TEST_SUITE_P(
INSTANTIATE_TEST_SUITE_P(
ToSpirv, HlslDX9CompatibleTest,
::testing::ValuesIn(std::vector<FileNameEntryPointPair>{
{"hlsl.round.dx9.frag", "main"},
{"hlsl.sample.dx9.frag", "main"},
{"hlsl.sample.dx9.vert", "main"},
}),