message: Fill out D3D12 depth-stencil read-only flag states
diff: @@ -1597,8 +1597,18 @@ void D3D12Replay::SavePipelineState(uint32_t eventId)
  }
  if(rs.dsv.GetResResourceId() != ResourceId())
  + {
  FillResourceView(state.outputMerger.depthTarget, &rs.dsv);
  + state.outputMerger.depthReadOnly = false;
  + state.outputMerger.stencilReadOnly = false;
  +
  + if(rs.dsv.GetDSV().Flags & D3D12_DSV_FLAG_READ_ONLY_DEPTH)
  + state.outputMerger.depthReadOnly = true;
  + if(rs.dsv.GetDSV().Flags & D3D12_DSV_FLAG_READ_ONLY_STENCIL)
  + state.outputMerger.stencilReadOnly = true;
  + }
  +
  state.outputMerger.blendState.blendFactor = rs.blendFactor;
  {
  