MCPcopy Create free account
hub / github.com/baldurk/renderdoc / LogReplayOptions

Function LogReplayOptions

renderdoc/core/core.cpp:244–261  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

242}
243
244void 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
264template <>

Callers 2

OpenCaptureMethod · 0.85
OpenCaptureMethod · 0.85

Calls 3

ToStrFunction · 0.85
emptyMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected