Allow predicate to be NULL without skipping the SetPredication() call
Allow predicate to be NULL without skipping the SetPredication() call

* Call to HasLiveResource needs to make sure to account for a NULL
  parameter that ends up with Resource ID 0. Bug introduced in 7aee40f.

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