mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-07-31 03:41:01 +00:00
Rename 'name' member of ActionDescription to 'customName'
* This is a deliberate break of compatibility since the field is now often empty, for non-markers. This means code will get a more explicit error when the name is being referenced, so it can be updated to fetch the name it needs as needed.
This commit is contained in:
@@ -209,7 +209,7 @@ public:
|
||||
|
||||
if(!actionstack.isEmpty())
|
||||
{
|
||||
ret += lit("> ") + actionstack.back()->name;
|
||||
ret += lit("> ") + actionstack.back()->customName;
|
||||
|
||||
if(actionstack.count() > 3)
|
||||
ret += lit(" ...");
|
||||
@@ -217,9 +217,9 @@ public:
|
||||
ret += lit("\n");
|
||||
|
||||
if(actionstack.count() > 2)
|
||||
ret += lit("> ") + actionstack[1]->name + lit("\n");
|
||||
ret += lit("> ") + actionstack[1]->customName + lit("\n");
|
||||
if(actionstack.count() > 1)
|
||||
ret += lit("> ") + actionstack[0]->name + lit("\n");
|
||||
ret += lit("> ") + actionstack[0]->customName + lit("\n");
|
||||
|
||||
ret += lit("\n");
|
||||
}
|
||||
@@ -231,7 +231,7 @@ public:
|
||||
{
|
||||
ret += tr("EID %1\n%2\nBound as UAV or copy - potential modification")
|
||||
.arg(mods.front().eventId)
|
||||
.arg(action->name);
|
||||
.arg(m_Ctx.GetEventBrowser()->GetEventName(action->eventId));
|
||||
|
||||
if(mods[0].preMod.col.uintValue == mods[0].postMod.col.uintValue)
|
||||
{
|
||||
@@ -249,7 +249,7 @@ public:
|
||||
|
||||
ret += tr("EID %1\n%2%3\n%4 Fragments touching pixel\n")
|
||||
.arg(mods.front().eventId)
|
||||
.arg(action->name)
|
||||
.arg(m_Ctx.GetEventBrowser()->GetEventName(action->eventId))
|
||||
.arg(failure)
|
||||
.arg(mods.count());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user