mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 09:00:44 +00:00
Replace fixed C arrays with wrapper class in public interface
* These map more naturally to python tuples and are easier to wrap in and out. * We also tidy up the FloatVecVal etc and standardise the members of ShaderValue.
This commit is contained in:
@@ -232,8 +232,7 @@ public:
|
||||
.arg(mods.front().eventId)
|
||||
.arg(drawcall->name);
|
||||
|
||||
if(memcmp(mods[0].preMod.col.uintValue, mods[0].postMod.col.uintValue,
|
||||
sizeof(uint32_t) * 4) == 0)
|
||||
if(mods[0].preMod.col.uintValue == mods[0].postMod.col.uintValue)
|
||||
{
|
||||
ret += tr("\nNo change in tex value");
|
||||
uavnowrite = true;
|
||||
@@ -356,8 +355,7 @@ public:
|
||||
passed |= m.Passed();
|
||||
|
||||
if(mods[0].directShaderWrite &&
|
||||
memcmp(mods[0].preMod.col.uintValue, mods[0].postMod.col.uintValue,
|
||||
sizeof(uint32_t) * 4) == 0)
|
||||
mods[0].preMod.col.uintValue == mods[0].postMod.col.uintValue)
|
||||
return QBrush(QColor::fromRgb(235, 235, 235));
|
||||
|
||||
return passed ? QBrush(QColor::fromRgb(235, 255, 235))
|
||||
|
||||
Reference in New Issue
Block a user