message: Don't add event usage when m_CurEventID == 0
diff: @@ -5354,6 +5354,8 @@ bool WrappedID3D11DeviceContext::Serialise_CopySubresourceRegion(
  draw.copySource = srcOrigID;
  draw.copyDestination = dstOrigID;
  + if(m_CurEventID)
  + {
  if(dstLiveID == srcLiveID)
  {
  m_ResourceUses[dstLiveID].push_back(EventUsage(m_CurEventID, ResourceUsage::Copy));
  @@ -5364,6 +5366,7 @@ bool WrappedID3D11DeviceContext::Serialise_CopySubresourceRegion(
  m_ResourceUses[srcLiveID].push_back(EventUsage(m_CurEventID, ResourceUsage::CopySrc));
  }
  }
  + }
  AddDrawcall(draw, true);
  }
  @@ -5504,6 +5507,8 @@ bool WrappedID3D11DeviceContext::Serialise_CopyResource(SerialiserType &ser,
  draw.copySource = srcOrigID;
  draw.copyDestination = dstOrigID;
  + if(m_CurEventID)
  + {
  if(dstLiveID == srcLiveID)
  {
  m_ResourceUses[dstLiveID].push_back(EventUsage(m_CurEventID, ResourceUsage::Copy));
  @@ -5514,6 +5519,7 @@ bool WrappedID3D11DeviceContext::Serialise_CopyResource(SerialiserType &ser,
  m_ResourceUses[srcLiveID].push_back(EventUsage(m_CurEventID, ResourceUsage::CopySrc));
  }
  }
  + }
  AddDrawcall(draw, true);
  }
  @@ -6017,6 +6023,8 @@ bool WrappedID3D11DeviceContext::Serialise_ResolveSubresource(SerialiserType &se
  draw.copySource = srcOrigID;
  draw.copyDestination = dstOrigID;
  + if(m_CurEventID)
  + {
  if(dstLiveID == srcLiveID)
  {
  m_ResourceUses[dstLiveID].push_back(EventUsage(m_CurEventID, ResourceUsage::Resolve));
  @@ -6027,6 +6035,7 @@ bool WrappedID3D11DeviceContext::Serialise_ResolveSubresource(SerialiserType &se
  m_ResourceUses[srcLiveID].push_back(EventUsage(m_CurEventID, ResourceUsage::ResolveSrc));
  }
  }
  + }
  AddDrawcall(draw, true);
  }
  