message: Don't crash in D3D12 overlays if no viewport is set
diff: @@ -876,7 +876,10 @@ ResourceId D3D12Replay::RenderOverlay(ResourceId texid, const Subresource &sub,
  vertexData.ModelViewProj = Matrix4f::Identity();
  vertexData.SpriteSize = Vec2f();
  - Vec4f viewport(rs.views[0].Width, rs.views[0].Height);
  + Vec4f viewport;
  +
  + if(!rs.views.empty())
  + viewport = Vec4f(rs.views[0].Width, rs.views[0].Height);
  if(rs.dsv.GetResResourceId() != ResourceId())
  {
  @@ -888,6 +891,7 @@ ResourceId D3D12Replay::RenderOverlay(ResourceId texid, const Subresource &sub,
  list->OMSetRenderTargets(1, &rtv, TRUE, NULL);
  }
  + if(!rs.views.empty())
  list->RSSetViewports(1, &rs.views[0]);
  D3D12_RECT scissor = {0, 0, 16384, 16384};
  @@ -1089,6 +1093,7 @@ ResourceId D3D12Replay::RenderOverlay(ResourceId texid, const Subresource &sub,
  list->OMSetRenderTargets(1, &rtv, TRUE, NULL);
  + if(!rs.views.empty())
  list->RSSetViewports(1, &rs.views[0]);
  D3D12_RECT scissor = {0, 0, 16384, 16384};
  