| 242 | } |
| 243 | |
| 244 | void LogReplayOptions(const ReplayOptions &opts) |
| 245 | { |
| 246 | RDCLOG("%s API validation during replay", (opts.apiValidation ? "Enabling" : "Not enabling")); |
| 247 | |
| 248 | if(opts.forceGPUVendor == GPUVendor::Unknown && opts.forceGPUDeviceID == 0 && |
| 249 | opts.forceGPUDriverName.empty()) |
| 250 | { |
| 251 | RDCLOG("Using default GPU replay selection algorithm"); |
| 252 | } |
| 253 | else |
| 254 | { |
| 255 | RDCLOG("Overriding GPU replay selection:"); |
| 256 | RDCLOG(" Vendor %s, device %u, driver \"%s\"", ToStr(opts.forceGPUVendor).c_str(), |
| 257 | opts.forceGPUDeviceID, opts.forceGPUDriverName.c_str()); |
| 258 | } |
| 259 | |
| 260 | RDCLOG("Replay optimisation level: %s", ToStr(opts.optimisation).c_str()); |
| 261 | } |
| 262 | |
| 263 | // these one is done by hand as we format it |
| 264 | template <> |
no test coverage detected