Fix logic mistake causing crashes with superfluous GPU dirty data
Fix logic mistake causing crashes with superfluous GPU dirty data

* IF we are ref'ing all resources, we want to serialise GPU dirty resources
  regardless if they're in m_FrameReferencedResources. If we are NOT
  then we can skip out.

baldurk/renderdoc,adrianbu/renderdoc,baldurk/renderdoc,adrianbu/renderdoc,baldurk/renderdoc,baldurk/renderdoc,moradin/renderdoc,Anteru/renderdoc,Lssikkes/renderdoc,michaelrgb/renderdoc,TurtleRockStudios/renderdoc_public,etnlGD/renderdoc,cgmb/renderdoc,michaelrgb/renderdoc,TurtleRockStudios/renderdoc_public,Velro/renderdoc,cgmb/renderdoc,Lssikkes/renderdoc,victor-moya/renderdoc,cgmb/renderdoc,Velro/renderdoc,Yours3lf/renderdoc,moradin/renderdoc,adrianbu/renderdoc,Yours3lf/renderdoc,victor-moya/renderdoc,moradin/renderdoc,Velro/renderdoc,Zorro666/renderdoc,michaelrgb/renderdoc,Zorro666/renderdoc,TurtleRockStudios/renderdoc_public,TurtleRockStudios/renderdoc_public,victor-moya/renderdoc,adrianbu/renderdoc,Anteru/renderdoc,Zorro666/renderdoc,baldurk/renderdoc,etnlGD/renderdoc,TurtleRockStudios/renderdoc_public,googlestadia/renderdoc,Anteru/renderdoc,Velro/renderdoc,etnlGD/renderdoc,cgmb/renderdoc,Yours3lf/renderdoc,moradin/renderdoc,Lssikkes/renderdoc,michaelrgb/renderdoc,Yours3lf/renderdoc,Zorro666/renderdoc,baldurk/renderdoc,moradin/renderdoc,Yours3lf/renderdoc,Lssikkes/renderdoc,Lssikkes/renderdoc,etnlGD/renderdoc,etnlGD/renderdoc,cgmb/renderdoc,Lssikkes/renderdoc,moradin/renderdoc,Velro/renderdoc,Anteru/renderdoc,victor-moya/renderdoc,Zorro666/renderdoc,Anteru/renderdoc,Yours3lf/renderdoc,Anteru/renderdoc,googlestadia/renderdoc,adrianbu/renderdoc,Anteru/renderdoc,googlestadia/renderdoc,googlestadia/renderdoc,Zorro666/renderdoc,adrianbu/renderdoc,Velro/renderdoc,TurtleRockStudios/renderdoc_public,googlestadia/renderdoc,etnlGD/renderdoc,michaelrgb/renderdoc,victor-moya/renderdoc,victor-moya/renderdoc,googlestadia/renderdoc