Remove no-longer used 'context' member of APIEvent structure

This commit is contained in:
baldurk committed 2017-04-18 14:57:35 +01:00
1 parent 4f21c29258
commit b7c755192c
6 files changed
+1 -9

No files matched your search

-2
View File
@@ -111,8 +111,6 @@ struct FetchAPIEvent
{
uint32_t eventID;
ResourceId context;
rdctype::array<uint64_t> callstack;
rdctype::str eventDesc;
+1 -2
View File
@@ -1319,12 +1319,11 @@ template <>
void Serialiser::Serialise(const char *name, FetchAPIEvent &el)
{
Serialise("", el.eventID);
Serialise("", el.context);
Serialise("", el.callstack);
Serialise("", el.eventDesc);
Serialise("", el.fileOffset);
SIZE_CHECK(56);
SIZE_CHECK(48);
}
template <>
@@ -950,7 +950,6 @@ void D3D12CommandData::AddEvent(string description)
{
FetchAPIEvent apievent;
apievent.context = ResourceId();
apievent.fileOffset = m_CurChunkOffset;
apievent.eventID = m_LastCmdListID != ResourceId() ? m_BakedCmdListInfo[m_LastCmdListID].curEventID
: m_RootEventID;
-1
View File
@@ -4216,7 +4216,6 @@ void WrappedOpenGL::AddEvent(string description)
{
FetchAPIEvent apievent;
apievent.context = GetResourceManager()->GetOriginalID(m_ContextResourceID);
apievent.fileOffset = m_CurChunkOffset;
apievent.eventID = m_CurEventID;
-1
View File
@@ -3040,7 +3040,6 @@ void WrappedVulkan::AddEvent(string description)
{
FetchAPIEvent apievent;
apievent.context = ResourceId();
apievent.fileOffset = m_CurChunkOffset;
apievent.eventID = m_LastCmdBufferID != ResourceId()
? m_BakedCmdBufferInfo[m_LastCmdBufferID].curEventID
-2
View File
@@ -505,8 +505,6 @@ namespace renderdoc
{
public UInt32 eventID;
public ResourceId context;
[CustomMarshalAs(CustomUnmanagedType.TemplatedArray)]
public UInt64[] callstack;