mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 17:10:47 +00:00
Rename uavWrite to more generic directShaderWrite
This commit is contained in:
@@ -231,7 +231,7 @@ public:
|
||||
bool passed = true;
|
||||
bool uavnowrite = false;
|
||||
|
||||
if(mods.front().uavWrite)
|
||||
if(mods.front().directShaderWrite)
|
||||
{
|
||||
ret += tr("EID %1\n%2\nBound as UAV or copy - potential modification")
|
||||
.arg(mods.front().eventID)
|
||||
@@ -265,7 +265,7 @@ public:
|
||||
{
|
||||
const PixelModification &mod = getMod(index);
|
||||
|
||||
if(mod.uavWrite)
|
||||
if(mod.directShaderWrite)
|
||||
{
|
||||
QString ret = tr("Potential UAV/Copy write");
|
||||
|
||||
@@ -303,7 +303,7 @@ public:
|
||||
const PixelModification &mod = getMod(index);
|
||||
if(mod.unboundPS)
|
||||
return tr("No Pixel\nShader\nBound");
|
||||
if(mod.uavWrite)
|
||||
if(mod.directShaderWrite)
|
||||
return tr("Tex Before\n\n") + modString(mod.preMod);
|
||||
return tr("Shader Out\n\n") + modString(mod.shaderOut);
|
||||
}
|
||||
@@ -350,7 +350,7 @@ public:
|
||||
for(const PixelModification &m : mods)
|
||||
passed |= m.passed();
|
||||
|
||||
if(mods[0].uavWrite &&
|
||||
if(mods[0].directShaderWrite &&
|
||||
memcmp(mods[0].preMod.col.value_u, mods[0].postMod.col.value_u, sizeof(uint32_t) * 4) ==
|
||||
0)
|
||||
return QBrush(QColor::fromRgb(235, 235, 235));
|
||||
@@ -378,7 +378,7 @@ public:
|
||||
const PixelModification &mod = getMod(index);
|
||||
|
||||
tag.eventID = mod.eventID;
|
||||
if(!mod.uavWrite)
|
||||
if(!mod.directShaderWrite)
|
||||
tag.primitive = mod.primitiveID;
|
||||
}
|
||||
|
||||
|
||||
@@ -486,7 +486,7 @@ struct PixelModification
|
||||
{
|
||||
uint32_t eventID;
|
||||
|
||||
bool32 uavWrite;
|
||||
bool32 directShaderWrite;
|
||||
bool32 unboundPS;
|
||||
|
||||
uint32_t fragIndex;
|
||||
|
||||
@@ -1621,7 +1621,7 @@ void Serialiser::Serialise(const char *name, PixelModification &el)
|
||||
{
|
||||
Serialise("", el.eventID);
|
||||
|
||||
Serialise("", el.uavWrite);
|
||||
Serialise("", el.directShaderWrite);
|
||||
Serialise("", el.unboundPS);
|
||||
|
||||
Serialise("", el.fragIndex);
|
||||
|
||||
@@ -5878,7 +5878,7 @@ vector<PixelModification> D3D11DebugManager::PixelHistory(vector<EventUsage> eve
|
||||
|
||||
mod.eventID = events[i].eventID;
|
||||
|
||||
mod.uavWrite = uavWrite;
|
||||
mod.directShaderWrite = uavWrite;
|
||||
mod.unboundPS = false;
|
||||
|
||||
mod.preMod.col.value_u[0] = (uint32_t)i;
|
||||
|
||||
Reference in New Issue
Block a user