You'll get the best results in RenderDoc by stripping as little debug information as possible from shaders. Reflection data is used all over the place to produce a nicer debugging experience.
If you do strip debug or reflection information, you can store it separately to be loaded later. More information is in the documentation.