Parse either a .conf file provided by the user or the default from glslang::DefaultTBuiltInResource
| 163 | // Parse either a .conf file provided by the user or the default from glslang::DefaultTBuiltInResource |
| 164 | // |
| 165 | void ProcessConfigFile() |
| 166 | { |
| 167 | if (ConfigFile.size() == 0) |
| 168 | *GetResources() = *GetDefaultResources(); |
| 169 | else { |
| 170 | char* configString = ReadFileData(ConfigFile.c_str()); |
| 171 | DecodeResourceLimits(GetResources(), configString); |
| 172 | FreeFileData(configString); |
| 173 | } |
| 174 | } |
| 175 | |
| 176 | int ReflectOptions = EShReflectionDefault; |
| 177 | std::underlying_type_t<TOptions> Options = EOptionNone; |
no test coverage detected