Nice job!
Creating your shader should be pretty simple. You can look at the PR I posted or you can see the passive shader that's used in Dolphin master.
One comment: I don't think you need to modify the passthrough geometry shader. I believe that's used if no geometry shader is
deemed necessary.