Display GPU timer overflow notification.

This commit is contained in:
Bartosz Taudul 2021-06-09 21:07:46 +02:00
parent de2ca9b22a
commit 7aa575fd2e
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -3147,6 +3147,14 @@ void View::DrawZones()
{
TextFocused( "Timestamp accuracy:", TimeToString( v->period ) );
}
if( v->overflow != 0 )
{
ImGui::Separator();
ImGui::TextUnformatted( "GPU timer overflow has been detected." );
TextFocused( "Timer resolution:", RealToString( 63 - TracyLzcnt( v->overflow ) ) );
ImGui::SameLine();
TextDisabledUnformatted( "bits" );
}
ImGui::EndTooltip();
}
}