How to incorporate an algorithm into a geometry shader.

@AcidFaucent
Edit
I’m using the default reach profile.

I use “gs_4_0” to compile.

How do I use the debug layer, I tried to follow this but I get it all greyed out…

Here is my shader and the code to use it…