Overdraw and Mipmaps Render Mode in Editor not working with custom shader

Is there a way of allowing the Editor’s Overdraw and Mipmaps Render Mode to work with a custom shader? I can only view mipmaps and overdraw with the Unity built-in shaders. Nothing is rendered when these mode are selected in combination with my custom shaders.

Is some sort of shader replacement occurring when using these editor Render Modes?

Mipmaps Render Mode selected.
Unity built-in shader.

1283723--58160--$Screen Shot 2013-06-27 at 09.28.23.png

Mipmaps Render Mode selected.
A custom shader.

1283723--58159--$Screen Shot 2013-06-27 at 09.28.42.png

I’ll answer my own question.

I didn’t have a RenderType tag set in my shader.

Tags { "Queue"="Geometry" "RenderType"="Opaque" }

Should have tried this before even writing the OP but this may help someone else.