mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 09:30:44 +00:00
Add an option to enable/disable fake markers.
This commit is contained in:
@@ -307,6 +307,9 @@ namespace renderdocui.Code
|
||||
// pass number
|
||||
private FetchDrawcall[] FakeProfileMarkers(FetchDrawcall[] draws)
|
||||
{
|
||||
if (Config.EventBrowser_AddFake == false)
|
||||
return draws;
|
||||
|
||||
if (ContainsMarker(draws))
|
||||
return draws;
|
||||
|
||||
|
||||
@@ -268,6 +268,8 @@ namespace renderdocui.Code
|
||||
public bool EventBrowser_ApplyColours = true;
|
||||
public bool EventBrowser_ColourEventRow = true;
|
||||
|
||||
public bool EventBrowser_AddFake = true;
|
||||
|
||||
public int Formatter_MinFigures = 2;
|
||||
public int Formatter_MaxFigures = 5;
|
||||
public int Formatter_NegExp = 5;
|
||||
|
||||
Reference in New Issue
Block a user