More accurate name for the last subset(TestNoWhileLoopLimit)

This commit is contained in:
aliPMPAINT 2021-02-28 14:33:24 +03:30 committed by GitHub
parent 042fd163f1
commit d08c56b344
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -48,10 +48,10 @@ TEST(TestShaderResources, TestSmallComputeWorkGroupSizeX)
}
TEST(TestShaderResources, TestNoWhileLoop)
TEST(TestShaderResources, TestNoWhileLoopLimit)
{
TBuiltInResource noWhileLoopResources = kp::defaultResource;
noWhileLoopResources.limits.whileLoops=0;
TBuiltInResource noWhileLoopLimitResources = kp::defaultResource;
noWhileLoopLimitResources.limits.whileLoops=0;
ASSERT_THROW(compileShaderWithGivenResources(shaderString, noWhileLoopResources), std::runtime_error);
ASSERT_THROW(compileShaderWithGivenResources(shaderString, noWhileLoopLimitResources), std::runtime_error);
}