mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-12-04 03:30:33 +00:00
Remove no-longer used 'context' member of APIEvent structure
This commit is contained in:
1 parent
4f21c29258
commit
b7c755192c
6 files changed
+1
-9
No files matched your search
@@ -111,8 +111,6 @@ struct FetchAPIEvent
|
||||
{
|
||||
uint32_t eventID;
|
||||
|
||||
ResourceId context;
|
||||
|
||||
rdctype::array<uint64_t> callstack;
|
||||
|
||||
rdctype::str eventDesc;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -505,8 +505,6 @@ namespace renderdoc
|
||||
{
|
||||
public UInt32 eventID;
|
||||
|
||||
public ResourceId context;
|
||||
|
||||
[CustomMarshalAs(CustomUnmanagedType.TemplatedArray)]
|
||||
public UInt64[] callstack;
|
||||
|
||||
|
||||
Reference in new issue
Block a user