| 206 | }; |
| 207 | |
| 208 | int main(int argc, char* argv[]) |
| 209 | { |
| 210 | std::string rendererModule = "OpenGL"; |
| 211 | |
| 212 | TestConfig testConfig; |
| 213 | testConfig.numTextures = 2; |
| 214 | testConfig.textureSize = 512; |
| 215 | testConfig.arrayLayers = 32;//512 or 32 |
| 216 | testConfig.numMipMaps = 3; |
| 217 | |
| 218 | PerformanceTest test; |
| 219 | test.Load(rendererModule, testConfig); |
| 220 | test.Run(); |
| 221 | |
| 222 | #ifdef _WIN32 |
| 223 | system("pause"); |
| 224 | #endif |
| 225 | |
| 226 | return 0; |
| 227 | } |