Don't use undefined map[index] = map.size()
Don't use undefined map[index] = map.size()

* The LHS map[index] can get executed first before map.size() and we end
  up with indices that are 1 higher than we expect

baldurk/renderdoc,baldurk/renderdoc,baldurk/renderdoc,googlestadia/renderdoc,TurtleRockStudios/renderdoc_public,baldurk/renderdoc,Zorro666/renderdoc,googlestadia/renderdoc,baldurk/renderdoc,michaelrgb/renderdoc,etnlGD/renderdoc,googlestadia/renderdoc,etnlGD/renderdoc,TurtleRockStudios/renderdoc_public,Zorro666/renderdoc,michaelrgb/renderdoc,baldurk/renderdoc,Zorro666/renderdoc,etnlGD/renderdoc,etnlGD/renderdoc,TurtleRockStudios/renderdoc_public,michaelrgb/renderdoc,michaelrgb/renderdoc,TurtleRockStudios/renderdoc_public,Zorro666/renderdoc,Zorro666/renderdoc,etnlGD/renderdoc,googlestadia/renderdoc,michaelrgb/renderdoc,TurtleRockStudios/renderdoc_public,TurtleRockStudios/renderdoc_public,etnlGD/renderdoc,Zorro666/renderdoc,googlestadia/renderdoc,googlestadia/renderdoc