Linux compile fix, and include copies/generatemips in pixel history

* We treat them the same as UAV writes where we just list them in case
  the pixel is modified without checking.
This commit is contained in:
baldurk
2015-03-12 10:25:32 +00:00
parent 7e1e87af1f
commit af97e30376
3 changed files with 27 additions and 8 deletions
+2 -2
View File
@@ -262,7 +262,7 @@ namespace renderdocui.Windows
if (mod.uavWrite)
{
string name = "Potential UAV write";
string name = "Potential UAV/Copy write";
string preModVal = "Tex Before\n\n" + ModificationValueString(mod.preMod, texture.format, depth);
string postModVal = "Tex After\n\n" + ModificationValueString(mod.postMod, texture.format, depth);
@@ -352,7 +352,7 @@ namespace renderdocui.Windows
if (mods[0].uavWrite)
{
name += String.Format("EID {0}\n{1}\nBound as UAV - potential modification", mods[0].eventID, drawcall.name);
name += String.Format("EID {0}\n{1}\nBound as UAV or copy - potential modification", mods[0].eventID, drawcall.name);
if (mods[0].preMod.col.value.u[0] == mods[0].postMod.col.value.u[0] &&
mods[0].preMod.col.value.u[1] == mods[0].postMod.col.value.u[1] &&