Test compiling shaders with given resource limits using GTest.

This commit is contained in:
Lei Zhang
2016-05-19 13:50:49 -04:00
parent 8a9b1ee3b4
commit 1b141728a6
8 changed files with 326 additions and 203 deletions

View File

@@ -49,6 +49,9 @@ extern const TBuiltInResource DefaultTBuiltInResource;
// Returns the DefaultTBuiltInResource as a human-readable string.
std::string GetDefaultTBuiltInResourceString();
// Decodes the resource limits from |config| to |resources|.
void DecodeResourceLimits(TBuiltInResource* resources, char* config);
} // end namespace glslang
#endif // _STAND_ALONE_RESOURCE_LIMITS_INCLUDED_