Fix issues with MaxDualSourceDrawBuffersEXT
This commit is contained in:
parent
dcae187376
commit
a88f674124
3 changed files with 19 additions and 1 deletions
|
|
@ -53,5 +53,15 @@ TEST_F(DefaultResourceTest, FromFile)
|
|||
ASSERT_EQ(expectedConfig, realConfig);
|
||||
}
|
||||
|
||||
TEST_F(DefaultResourceTest, UnrecognizedLimit)
|
||||
{
|
||||
const std::string defaultConfig = GetDefaultTBuiltInResourceString();
|
||||
testing::internal::CaptureStdout();
|
||||
TBuiltInResource resources;
|
||||
DecodeResourceLimits(&resources, const_cast<char*>(defaultConfig.c_str()));
|
||||
std::string output = testing::internal::GetCapturedStdout();
|
||||
ASSERT_EQ(output.find("unrecognized limit"), std::string::npos);
|
||||
}
|
||||
|
||||
} // anonymous namespace
|
||||
} // namespace glslangtest
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue