Fix check for skipping invalid root signature elements
Fix check for skipping invalid root signature elements

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