X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=cli%2Ftrace_analyzer.cpp;h=803c81cde1b0c8f8d54725ff1a9120b61ea713dd;hb=6ad9d816975cf8ee94da166e95082b757ff78d49;hp=730dab91b08d8478d001ed75d319938a2d55894d;hpb=2f0d1a3244c8953a4468759ac466b80c4965d38f;p=apitrace diff --git a/cli/trace_analyzer.cpp b/cli/trace_analyzer.cpp index 730dab9..803c81c 100644 --- a/cli/trace_analyzer.cpp +++ b/cli/trace_analyzer.cpp @@ -271,12 +271,6 @@ TraceAnalyzer::callHasNoSideEffects(trace::Call *call, const char *name) return true; } - /* Similarly, swap-buffers calls don't have interesting side effects. */ - if (call->flags & trace::CALL_FLAG_SWAP_RENDERTARGET && - call->flags & trace::CALL_FLAG_END_FRAME) { - return true; - } - /* Not known as a no-side-effect call. Return false for more analysis. */ return false; }